Package spade :: Package xmppd :: Package modules :: Module router :: Class Router
[hide private]
[frames] | no frames]

Class Router

source code


The first entity that gets access to arrived stanza.

Instance Methods [hide private]
 
plugin(self, server) source code
 
isFromOutside(self, domain) source code
 
pluginRelay(self, session, stanza)
Relays a stanza to a plugin dispatcher if such plugin is the correct receiver of the stanza
source code
 
presenceHandler(self, session, stanza, raiseFlag=True, fromLocal=False) source code
 
broadcastAvailable(self, session, to=None) source code
 
update(self, barejid) source code
 
safeguard(self, session, stanza) source code
 
subscriber(self, session, stanza)
Subscription manager that actually works (cough, cough, BoP, cough, cough ;-)
source code
 
karmatize_me_captain(self, s, stanza) source code
 
intra_route(self, stanza) source code
 
routerHandler(self, session, stanza, raiseFlag=True)
XMPP-Core 9.1.1 rules
source code

Inherited from xmpp.client.PlugIn: DEBUG, PlugIn, PlugOut, __init__

Class Variables [hide private]
  NS = 'presence'
Method Details [hide private]

subscriber(self, session, stanza)

source code 

Subscription manager that actually works (cough, cough, BoP, cough, cough ;-)

0. COMMON TASKS
    0.1 Get 'from' and 'to'
    0.2 Get the session of the receiver