Esempio n. 1
0
 def __init__(self, factory, socket=None, callback=None):
     if socket is None:
         socket = factory.socket(zmq.SUB)
     ZmqConnection.__init__(self, factory, socket, callback)
Esempio n. 2
0
 def __init__(self, factory, *endpoints):
     ZmqConnection.__init__(self, factory, *endpoints)
     self._routing_info = {}  # keep track of routing info
Esempio n. 3
0
 def __init__(self, factory, socket=None):
     if socket is None:
         socket = factory.socket(zmq.PUB)
     ZmqConnection.__init__(self, factory, socket)
Esempio n. 4
0
 def __init__(self, *args, **kwargs):
     ZmqConnection.__init__(self, *args, **kwargs)
     self._routingInfo = {}  # keep track of routing info
Esempio n. 5
0
 def __init__(self, factory, *endpoints):
     ZmqConnection.__init__(self, factory, *endpoints)
     self._requests = {}
Esempio n. 6
0
 def __init__(self, *args, **kwargs):
     ZmqConnection.__init__(self, *args, **kwargs)
     self._requests = {}
     self._uuids = []
Esempio n. 7
0
 def __init__(self, factory, callback, socket=None):
     if socket is None:
         socket = factory.socket(zmq.ROUTER)
     self.req_callback = callback
     self._routing_info = {}  # keep track of routing info
     ZmqConnection.__init__(self, factory, socket, self.messageReceived)
Esempio n. 8
0
 def __init__(self, factory, socket=None):
     if socket is None:
         socket = factory.socket(zmq.DEALER)
     self._requests = {}
     self._timeout_calls = {}
     ZmqConnection.__init__(self, factory, socket, self.messageReceived)
Esempio n. 9
0
 def __init__(self, factory, endpoint=None):
     ZmqConnection.__init__(self, factory, endpoint)
     self._routingInfo = {}  # keep track of routing info
Esempio n. 10
0
 def __init__(self, factory, endpoint=None):
     ZmqConnection.__init__(self, factory, endpoint)
     self._requests = {}
     self._uuids = []