Home | Trees | Indices | Help |
|
---|
|
Base for Client and Component classes.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Caches server name and (optionally) port to connect to. "debug" parameter specifies the debug IDs that will go into debug output. You can either specifiy an "include" or "exclude" list. The latter is done via adding "always" pseudo-ID to the list. Full list: ['nodebuilder', 'dispatcher', 'gen_auth', 'SASL_auth', 'bind', 'socket', 'CONNECTproxy', 'TLS', 'roster', 'browser', 'ibb'] . |
Called on disconnection. Calls disconnect handlers and cleans things up. |
Default disconnect handler. Just raises an IOError. If you choosed to use this class in your production client, override this method or at least unregister it. |
Default event handler. To be overriden. |
Returns connection state. F.e.: None / 'tls' / 'tcp+non_sasl' . |
Example of reconnection method. In fact, it can be used to batch connection and auth as well. |
Make a tcp/ip connection, protect it with tls/ssl if possible and start XMPP stream. Returns None or 'tcp' or 'tls', depending on the result. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Sep 25 18:45:12 2014 | http://epydoc.sourceforge.net |