def __init__(self): ''' __init__ ''' vSocket.__init__(self) self.bind((HOST, PORTA)) #self.setblocking(False) self.__conectado = False self.__default_socket = None self.__obj_usuario_off_dic = {} self.__obj_key_usuario_on_dic = {} self.__idx_addr_usuario_on_dic = {} self.__idx_login_usuario_on_dic = {}
def __init__(self): ''' __init__ ''' vSocket.__init__(self) self.bind((HOST, PORTA)) #self.setblocking(False) self.__conectado = False self.__default_socket = None self.__obj_usuario_off_dic = {} self.__obj_key_usuario_on_dic = {} self.__idx_addr_usuario_on_dic = {} self.__idx_login_usuario_on_dic = {}
def __init__(self): ''' Constructor ''' vSocket.__init__(self) #self.setblocking(False) self.CONECTADO = 1 self.ESPERANDO = 2 self.DESCONECT = 3 self.ERROLOGIN = 4 self.__addr_server = vAddress(HOST, PORTA) self.__obj_usuario_dic = {} self.key = False self.flg_conectado = self.DESCONECT
def __init__(self): ''' Constructor ''' vSocket.__init__(self) #self.setblocking(False) self.CONECTADO = 1 self.ESPERANDO = 2 self.DESCONECT = 3 self.ERROLOGIN = 4 self.__addr_server = vAddress(HOST, PORTA) self.__obj_usuario_dic = {} self.key = False self.flg_conectado = self.DESCONECT