Package xmpp :: Module transports
[show private | hide private]
[frames | no frames]

Module xmpp.transports

This module contains the low-level implementations of xmpppy connect methods or (in other words) transports for xmpp-stanzas. Currently here is three transports: direct TCP connect - TCPsocket class proxied TCP connect - HTTPPROXYsocket class (CONNECT proxies) TLS connection - TLS class. Can be used for SSL connections also.

Transports are stackable so you - f.e. TLS use HTPPROXYsocket or TCPsocket as more low-level transport.

Also exception 'error' is defined to allow capture of this module specific exceptions.
Classes
error An exception to be raised in case of low-level errors in methods of 'transports' module.
HTTPPROXYsocket HTTP (CONNECT) proxy connection class.
TCPsocket This class defines direct TCP connection method.
TLS TLS connection used to encrypts already estabilished tcp connection.

Variable Summary
int BUFLEN = 1024                                                                  
str DATA_RECEIVED = 'DATA RECEIVED'
str DATA_SENT = 'DATA SENT'
str DBG_CONNECT_PROXY = 'CONNECTproxy'
bool HAVE_DNSPYTHON = False
bool HAVE_PYDNS = True

Variable Details

BUFLEN

Type:
int
Value:
1024                                                                  

DATA_RECEIVED

Type:
str
Value:
'DATA RECEIVED'                                                        

DATA_SENT

Type:
str
Value:
'DATA SENT'                                                            

DBG_CONNECT_PROXY

Type:
str
Value:
'CONNECTproxy'                                                         

HAVE_DNSPYTHON

Type:
bool
Value:
False                                                                  

HAVE_PYDNS

Type:
bool
Value:
True                                                                   

Generated by Epydoc 2.1 on Thu Oct 5 23:57:39 2006 http://epydoc.sf.net