Is plugged into NonBlockingClient but can be replugged to restart handled
stream headers (used by SASL f.e.).
|
|
|
|
|
|
|
|
|
|
|
restoreHandlers(self,
handlers)
Restore user-registered callbacks structure from dump previously obtained
via dumpHandlers. |
source code
|
|
|
|
|
|
|
plugin(self,
owner)
Plug the Dispatcher instance into Client class instance and send initial
stream header. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RegisterHandler(self,
name,
handler,
typ='',
ns='',
xmlns=None,
makefirst=False,
system=False)
Register user callback as stanzas handler of declared type |
source code
|
|
|
|
RegisterHandlerOnce(self,
name,
handler,
typ='',
ns='',
xmlns=None,
makefirst=0,
system=0)
Unregister handler after first call (not implemented yet) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dispatch(self,
stanza,
session=None,
direct=0)
Main procedure that performs XMPP stanza recognition and calling
apppropriate handlers for it. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
send(self,
stanza,
now=False)
Wrap transports send method when plugged into NonBlockingClient. |
source code
|
|
|
Inherited from plugin.PlugIn:
PlugIn,
PlugOut
|