def __init__(self): SignalObject.__init__(self) #key = (client, authid) #value = {'user': user, 'answer': answer} self.pending_auths = {} self.name_list = "" self.name_list_dirty = True
def __init__(self): SignalObject.__init__(self) self.server_list = "" self.server_list_dirty = True #key = client #value = (port, time, server_domain, answer) self.servers_pending = {} #key = client #value = (port, time, server_domain) self.servers = {}
def __init__(self, master_ip, master_port, max_clients): SignalObject.__init__(self) self.master_clients = {} self.master_ip = master_ip self.master_port = master_port self.running = True self.interval = 10 self.next_update = time.time() + self.interval self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) self.socket.bind((master_ip, master_port)) self.socket.listen(max_clients)
def __init__(self): SignalObject.__init__(self) self.effect_list = "" self.effect_list_dirty = True
def __init__(self): SignalObject.__init__(self)
def __init__(self): SignalObject.__init__(self) #key = (client, authid) #value = {'member': Member, 'answer': answer} self.pending_auths = {}
def __init__(self): SignalObject.__init__(self) self.state = ClientState() self.cn = self.cn_pool.pop(0)