(self, host, names, port)
return "OK"
implementation of the ``register`` command
implementation of the ``register`` command
implementation of the register command
def cmd_register(self, host, names, port):
        """implementation of the ``register`` command"""
        self.logger.debug("registering %s:%s as %s", host, port, ", ".join(names))
        for name in names:
            self._add_service(name.upper(), (host, port))
        return "OK"
def cmd_register ( self , host , names , port ) : self . logger . debug ( "registering %s:%s as %s" , host , port , ", " . join ( names ) ) for name in names : self . _add_service ( name . upper ( ) , ( host , port ) ) return "OK"