def __init__(self): self._sock = mq.rsp_socket('speedd') self._realtime = Realtime()
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
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 = {}
def __init__(self, conn): self._sock = mq.rsp_socket('speedd') self._realtime = Realtime() self.conn = conn
def __init__(self, guard): self.build_api_map() self.guard = guard self.sock = mq.rsp_socket('admd')