[docs]defregister(self,channel_address):self.address=channel_addresscontext=zmq.Context()self._socket=context.socket(zmq.SUB)print("connecting to address: ","tcp://{}:{}".format(*channel_address))# Connects to a bound socketself._socket.connect("tcp://{}:{}".format(*channel_address))self._socket.subscribe("")