Module dispatcher_nb
source code
Main xmpp decision making logic. Provides library with methods to assign
different handlers to different XMPP stanzas and namespaces
    |  | Dispatcher Why is this here - I needed to redefine Dispatcher for BOSH and easiest way
was to inherit original Dispatcher (now renamed to XMPPDispatcher). Trouble
is that reference used to access dispatcher instance is in Client attribute
named by __class__.__name__ of the dispatcher instance .. long story short:
 | 
    |  | XMPPDispatcher Handles XMPP stream and is the first who takes control over a fresh stanza
 | 
    |  | BOSHDispatcher | 
Imports:
  simplexml,
  sys,
  locale,
  re,
  ExpatError,
  PlugIn,
  NS_STREAMS,
  NS_XMPP_STREAMS,
  NS_HTTP_BIND,
  Iq,
  Presence,
  Message,
  Protocol,
  Node,
  Error,
  ERR_FEATURE_NOT_IMPLEMENTED,
  StreamError,
  logging
| log
   
    Value:| 
logging.getLogger('nbxmpp.dispatcher_nb')
 | 
 | 
 
| DEFAULT_TIMEOUT_SECONDSdefault timeout to wait for response for our id
   
    Value:
 | 
 
| XML_DECLARATION
   
    Value:| 
'<?xml version=\'1.0\'?>' | 
 |