Beispiel #1
0
 def __init__(self):
     self._sock = mq.rsp_socket('speedd')
     self._realtime = Realtime()
Beispiel #2
0
 def init(self):
     self.poller = zmq.Poller()
     self.sub_poller = zmq.Poller()
     self.svr = mq.rsp_socket('beepd')
     self.poller.register(self.svr, zmq.POLLIN | zmq.POLLERR)
     self.beepp = None
Beispiel #3
0
 def init(self):
     self.poller = zmq.Poller()
     self.sub_poller = zmq.Poller()
     self.svr = mq.rsp_socket('syncd')
     self.poller.register(self.svr, zmq.POLLIN | zmq.POLLERR)
     self.syncp = {}
Beispiel #4
0
 def __init__(self, conn):
     self._sock = mq.rsp_socket('speedd')
     self._realtime = Realtime()
     self.conn = conn
Beispiel #5
0
 def __init__(self, guard):
     self.build_api_map()
     self.guard = guard
     self.sock = mq.rsp_socket('admd')