def METHOD_NAME(self, port):
    if not port:
        return
    self.registered_port = port
    self.registration = yield self.master.pbmanager.register(port, self.user, self.passwd,
                                                             self.getPerspective)