def run(self):
self._parse()
remote = self.remote
channel = grpc.insecure_channel(remote)
stub = thegame_pb2_grpc.TheGameStub(channel)
for response in stub.View(thegame_pb2.ViewRequest(token=self.token)):
self._game_state = response
self._response_to_controls(response)
评论列表
文章目录