Ejemplo n.º 1
0
    def __init__(self, host, port):
        """initializer

            @param host: the hostname to connect to.
            @type host: string

            @param port: the port number to connect to.
            @type port: integer > 0 and < 65536"""
        SocketClient.__init__(self, host, port, AF_INET, SOCK_STREAM)
        ProxyfiableClient.__init__(self)
Ejemplo n.º 2
0
    def __init__(self, host, port):
        """initializer

            @param host: the hostname to connect to.
            @type host: string

            @param port: the port number to connect to.
            @type port: integer > 0 and < 65536"""
        SocketClient.__init__(self, host, port, AF_INET, SOCK_STREAM)
        ProxyfiableClient.__init__(self)
Ejemplo n.º 3
0
 def set_socket(self, sock):
     SocketClient._pre_open(self, sock)
     SocketClient._post_open(self)
Ejemplo n.º 4
0
 def set_socket(self, sock):
     SocketClient._pre_open(self, sock)
     SocketClient._post_open(self)