예제 #1
0
 def disconnect(self):
     """ Disconned the client : close the socket. """
     self.__socket.close()
     IO_Client.disconnect(self)
예제 #2
0
 def disconnect(self):
     """ Disconned the client : close the socket. """
     self.__socket.close()
     IO_Client.disconnect(self)
예제 #3
0
 def __init__(self, io_tcp, addr, name=None, socket=None):
     IO_Client.__init__(self, io_tcp, addr, name)
     self.__socket = socket 
     self.on_send = None
     self.on_receive = None
예제 #4
0
 def __init__(self, io_tcp, addr, name=None, socket=None):
     IO_Client.__init__(self, io_tcp, addr, name)
     self.__socket = socket
     self.on_send = None
     self.on_receive = None