示例#1
0
    def __init__(self, port, zmq_factory, data_manager):

        self.data_manager = data_manager

        endpoint = ZmqEndpoint(ZmqEndpointType.bind, "tcp://*:%d" % port)

        ZmqREPConnection.__init__(self, zmq_factory, endpoint)
示例#2
0
    def __init__(self, port, zmq_factory, data_manager):
        
        self.data_manager = data_manager

        endpoint = ZmqEndpoint(ZmqEndpointType.bind, "tcp://*:%d" % port)

        ZmqREPConnection.__init__(self, zmq_factory, endpoint)
示例#3
0
 def __init__(self, factory, endpoint):
     ZmqREPConnection.__init__(self, factory, endpoint=endpoint)
示例#4
0
 def __init__(self, zf, e, core):
     ZmqREPConnection.__init__(self, zf, e)
     self.dispatcher = CommandDispatcher(core)
示例#5
0
	def __init__(self, zmqfactory, zmqendpoint):
		ZmqREPConnection.__init__(self, zmqfactory, zmqendpoint)
示例#6
0
 def __init__(self, zf, e, core):
     ZmqREPConnection.__init__(self, zf, e)
     self.core = core
示例#7
0
 def __init__(self, factory, endpoint, client):
     ZmqREPConnection.__init__(self, factory, endpoint=endpoint)
     self.client = client
示例#8
0
 def __init__(self, zf, e, core):
     ZmqREPConnection.__init__(self, zf, e)
     self.dispatcher = CommandDispatcher(core)