pyxmpp.streamtls.StreamTLSMixIn

Package pyxmpp :: Module streamtls :: Class StreamTLSMixIn |
[show private | hide private]
[frames | no frames]

## Class StreamTLSMixIn

Known Subclasses:
  `Stream`

Mix-in class providing TLS support for an XMPP stream.

Method Summary
| ``__init__`(self, tls_settings)` Initialize TLS support of a Stream object
| ``get_tls_connection`(self)` Get the TLS connection object for the stream.

Instance Variable Summary
| `tls`: TLS connection object.

Method Details

### __init__(self, tls_settings=None) (Constructor) Initialize TLS support of a Stream object Parameters: `tls_settings` - settings for StartTLS. (type=`TLSSettings`)

### get_tls_connection(self) Get the TLS connection object for the stream. Returns: `self.tls`

Instance Variable Details

### tls TLS connection object.