def close(self): BaseP2PTransport.close(self) self._leave()
def __init__(self, client, contacts, transport_manager): SwitchboardClient.__init__(self, client, contacts) BaseP2PTransport.__init__(self, transport_manager, "switchboard")