def __init__(self, sock, server):
# We need to use old-style init calls here because asyncore
# consists of old-style classes :(
asyncore.dispatcher_with_send.__init__(self, sock=sock)
ProtoMixin.__init__(self)
self.input_file = None
self.idb_path = None
self.server = server
self.project = server.core.project
self.server.clients.add(self)
评论列表
文章目录