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).
|
|
|
XMPPDispatcher
Handles XMPP stream and is the first who takes control over a fresh stanza
|
|
|
BOSHDispatcher
|
Imports:
simplexml,
sys,
locale,
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('gajim.c.x.dispatcher_nb')
|
|
DEFAULT_TIMEOUT_SECONDS
default timeout to wait for response for our id
- Value:
-
|
XML_DECLARATION
- Value:
'<?xml version=\'1.0\'?>'
|
|