def CacheFile(self, request, context): file = request.filePath status = request.status processor.update_registry(file, status, request.content) return Empty()
def KillProcess(self, request, context): self.server.stop(0) self.kill_event.set() return Empty()