Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nbxmpp/connection.py')
-rw-r--r--nbxmpp/connection.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/nbxmpp/connection.py b/nbxmpp/connection.py
index 6fc06b6..a58bc2f 100644
--- a/nbxmpp/connection.py
+++ b/nbxmpp/connection.py
@@ -53,6 +53,7 @@ class Connection(Observable):
self._client_cert = client_cert
self._address = address
+ self._local_address = None
self._state = None
self._state = TCPState.DISCONNECTED
@@ -64,6 +65,10 @@ class Connection(Observable):
self._ignored_tls_errors = ignored_tls_errors
@property
+ def local_address(self):
+ return self._local_address
+
+ @property
def peer_certificate(self):
return (self._peer_certificate, self._peer_certificate_errors)