def METHOD_NAME(self, host, port):
    """
    Register a remote UI Event Handler
    """
    s, t = bb.server.xmlrpcclient._create_server(host, port)
    # we don't allow connections if the cooker is running
    if (self.server.cooker.state in [bb.cooker.state.parsing, bb.cooker.state.running]):
        return None, "Cooker is busy: %s" % bb.cooker.state.get_name(self.server.cooker.state)
    self.event_handle = bb.event.register_UIHhandler(s, True)
    return self.event_handle, 'OK'