Package common :: Package xmpp :: Module dispatcher_nb
[hide private]
[frames] | no frames]

Module dispatcher_nb

source code

Main xmpp decision making logic. Provides library with methods to assign different handlers to different XMPP stanzas and namespaces.
Classes [hide private]
  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
Variables [hide private]
  log = logging.getLogger('gajim.c.x.dispatcher_nb')
  DEFAULT_TIMEOUT_SECONDS = 25
default timeout to wait for response for our id
  outgoingID = 0
  XML_DECLARATION = '<?xml version=\'1.0\'?>'

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


Variables Details [hide private]

log

Value:
logging.getLogger('gajim.c.x.dispatcher_nb')

DEFAULT_TIMEOUT_SECONDS

default timeout to wait for response for our id
Value:
25

outgoingID

Value:
0

XML_DECLARATION

Value:
'<?xml version=\'1.0\'?>'