(self, host, port)
return "OK"
implementation of the ``unregister`` command
implementation of the ``unregister`` command
implementation of the unregister command
def cmd_unregister(self, host, port):
        """implementation of the ``unregister`` command"""
        self.logger.debug("unregistering %s:%s", host, port)
        for name in self.services.keys():
            self._remove_service(name, (host, port))
        return "OK"
def cmd_unregister ( self , host , port ) : self . logger . debug ( "unregistering %s:%s" , host , port ) for name in self . services . keys ( ) : self . _remove_service ( name , ( host , port ) ) return "OK"