Package pyxmpp2 :: Package test :: Module roster :: Class Processor
[hide private]

Class Processor


Instance Methods [hide private]
 
__init__(self, handlers)
Initialize a StanzaProcessor object.
 
send(self, stanza)
Send a stanza somwhere.

Inherited from stanzaprocessor.StanzaProcessor: check_to, clear_response_handlers, fix_in_stanza, fix_out_stanza, process_iq, process_message, process_presence, process_stanza, route_stanza, set_response_handlers, setup_stanza_handlers, uplink_receive

Instance Variables [hide private]

Inherited from stanzaprocessor.StanzaProcessor: lock, me, peer, process_all_stanzas, uplink

Method Details [hide private]

__init__(self, handlers)
(Constructor)

 
Initialize a StanzaProcessor object.
Parameters:
  • default_timeout - default timeout for IQ response handlers
Overrides: stanzaprocessor.StanzaProcessor.__init__
(inherited documentation)

send(self, stanza)

 

Send a stanza somwhere.

The default implementation sends it via the uplink if it is defined or raises the NoRouteError.

Parameters:
  • stanza - the stanza to send.
Overrides: interfaces.StanzaRoute.send
(inherited documentation)