Exemple #1
0
 def close(self):
     BaseP2PTransport.close(self)
     self._leave()
Exemple #2
0
 def _on_closed(self):
     BaseP2PTransport.close(self)
Exemple #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")
Exemple #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")
Exemple #5
0
 def close(self):
     BaseP2PTransport.close(self)
     self._leave()
Exemple #6
0
 def _on_closed(self):
     BaseP2PTransport.close(self)
Exemple #7
0
 def __init__(self, client, contacts, transport_manager):
     SwitchboardClient.__init__(self, client, contacts)
     BaseP2PTransport.__init__(self, transport_manager, "switchboard")
Exemple #8
0
 def __init__(self, client, contacts, transport_manager):
     SwitchboardClient.__init__(self, client, contacts)
     BaseP2PTransport.__init__(self, transport_manager, "switchboard")
Exemple #9
0
 def close(self):
     BaseP2PTransport.close(self)
Exemple #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)