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