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