Home | Trees | Index | Help |
---|
Package xmpp :: Module transports :: Class TLS |
|
PlugIn
--+
|
TLS
Method Summary | |
---|---|
Used to analyse server <features/> tag for TLS support. | |
Returns true if there possible is a data ready to be read. | |
If the 'now' argument is true then starts using encryption immidiatedly. | |
Unregisters TLS handler's from owner's dispatcher. | |
Handle server reply if TLS is allowed to process. | |
Immidiatedly switch socket to TLS mode. | |
Inherited from PlugIn | |
| |
Feed a provided debug line to main instance's debug facility along with our ID string. | |
Unregister all our staff from main instance and detach from it. |
Method Details |
---|
FeaturesHandler(self, conn, feats)Used to analyse server <features/> tag for TLS support. If TLS is supported starts the encryption negotiation. Used internally |
pending_data(self, timeout=0)Returns true if there possible is a data ready to be read. |
PlugIn(self, owner, now=0)If the 'now' argument is true then starts using encryption immidiatedly. If 'now' in false then starts encryption as soon as TLS feature is declared by the server (if it were already declared - it is ok).
|
plugout(self, now=0)Unregisters TLS handler's from owner's dispatcher. Take note that encription can not be stopped once started. You can only break the connection and start over. |
StartTLSHandler(self, conn, starttls)Handle server reply if TLS is allowed to process. Behaves accordingly. Used internally. |
_startSSL(self)Immidiatedly switch socket to TLS mode. Used internally. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Mar 6 14:11:54 2006 | http://epydoc.sf.net |