def __init__(self, remote_host, port, zmq_factory, data_manager=None): self.data_manager = data_manager self.remote_host = remote_host endpoint = ZmqEndpoint(ZmqEndpointType.connect, "tcp://%s:%d" % (remote_host, port)) ZmqREQConnection.__init__(self, zmq_factory, endpoint)
def __init__(self, *args, **kwargs): ZmqREQConnection.__init__(self, *args, **kwargs)