Module transports_nb
source code
Transports are objects responsible for connecting to XMPP server and putting
data to wrapped sockets in in desired form (SSL, TLS, TCP, for HTTP proxy,
for SOCKS5 proxy...)
Transports are not aware of XMPP stanzas and only responsible for low-level
connection handling.
    |  | NonBlockingTransport Abstract class representing a transport
 | 
    |  | NonBlockingTCP Non-blocking TCP socket wrapper
 | 
    |  | NonBlockingHTTP Socket wrapper that creates HTTP message out of sent data and peels-off HTTP
headers from incoming messages
 | 
    |  | NonBlockingHTTPBOSH Class for BOSH HTTP connections. Slightly redefines HTTP transport by
calling bosh bodytag generating callback before putting data on wire
 | 
Imports:
  ustr,
  PlugIn,
  IdleObject,
  proxy_connectors,
  tls_nb,
  socket,
  errno,
  time,
  traceback,
  base64,
  urlparse,
  logging
| Function for splitting URI string to tuple (protocol, host, port, path).
e.g. urisplit('http://httpcm.jabber.org:123/webclient') returns ('http',
'httpcm.jabber.org', 123, '/webclient') return 443 as default port if proto
is https else 80 
   | 
 
| log
   
    Value:| 
logging.getLogger('nbxmpp.transports_nb')
 | 
 | 
 
| CONNECT_TIMEOUT_SECONDStimeout to connect to the server socket, it doesn't include auth
   
    Value:
 | 
 
| DISCONNECT_TIMEOUT_SECONDShow long to wait for a disconnect to complete
   
    Value:
 | 
 
| RECV_BUFSIZEsize of the buffer which reads data from server
   
    Value:
 | 
 
| STATES
   
    Value:| 
('DISCONNECTED','CONNECTING','PROXY_CONNECTING','CONNECTED','DISCONNECTING') | 
 |