Esempio n. 1
0
 def close(self):
     BaseP2PTransport.close(self)
     self._leave()
Esempio n. 2
0
 def _on_closed(self):
     BaseP2PTransport.close(self)
Esempio n. 3
0
 def __init__(self, client, contacts, peer, peer_guid, transport_manager):
     self._oustanding_sends = 0
     self._peer = peer
     self._peer_guid = peer_guid
     SwitchboardHandler.__init__(self, client, contacts)
     BaseP2PTransport.__init__(self, transport_manager, "switchboard")
Esempio n. 4
0
 def __init__(self, client, contacts, peer, peer_guid, transport_manager):
     self._oustanding_sends = 0
     self._peer = peer
     self._peer_guid = peer_guid
     SwitchboardHandler.__init__(self, client, contacts)
     BaseP2PTransport.__init__(self, transport_manager, "switchboard")
Esempio n. 5
0
 def close(self):
     BaseP2PTransport.close(self)
     self._leave()
Esempio n. 6
0
 def _on_closed(self):
     BaseP2PTransport.close(self)
Esempio n. 7
0
 def __init__(self, client, contacts, transport_manager):
     SwitchboardClient.__init__(self, client, contacts)
     BaseP2PTransport.__init__(self, transport_manager, "switchboard")
Esempio n. 8
0
 def __init__(self, client, contacts, transport_manager):
     SwitchboardClient.__init__(self, client, contacts)
     BaseP2PTransport.__init__(self, transport_manager, "switchboard")
Esempio n. 9
0
 def close(self):
     BaseP2PTransport.close(self)
Esempio n. 10
0
 def __init__(self, client, transport_manager):
     BaseP2PTransport.__init__(self, transport_manager, "notification")
     self._protocol = client._protocol
     self._protocol.connect("buddy-notification-received",
             self._on_notification_received)