Exemple #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)
 def __init__(self, factory, *endpoints):
     ZmqConnection.__init__(self, factory, *endpoints)
     self._routing_info = {}  # keep track of routing info
Exemple #3
0
 def __init__(self, factory, socket=None):
     if socket is None:
         socket = factory.socket(zmq.PUB)
     ZmqConnection.__init__(self, factory, socket)
Exemple #4
0
 def __init__(self, *args, **kwargs):
     ZmqConnection.__init__(self, *args, **kwargs)
     self._routingInfo = {}  # keep track of routing info
 def __init__(self, factory, *endpoints):
     ZmqConnection.__init__(self, factory, *endpoints)
     self._requests = {}
Exemple #6
0
 def __init__(self, *args, **kwargs):
     ZmqConnection.__init__(self, *args, **kwargs)
     self._requests = {}
     self._uuids = []
Exemple #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)
Exemple #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)
Exemple #9
0
 def __init__(self, factory, endpoint=None):
     ZmqConnection.__init__(self, factory, endpoint)
     self._routingInfo = {}  # keep track of routing info
Exemple #10
0
 def __init__(self, factory, endpoint=None):
     ZmqConnection.__init__(self, factory, endpoint)
     self._requests = {}
     self._uuids = []