Comparison

doc/stanza_routing.txt @ 12:90f22275f7ae

Moved server module to net/ also added note on licensing of that module
author Matthew Wild <mwild1@gmail.com>
date Mon, 25 Aug 2008 16:46:05 +0100
child 21:ade26639f237
comparison
equal deleted inserted replaced
11:67460500abdd 12:90f22275f7ae
1 No 'to' attribute:
2 IQ: Pass to appropriate handler
3 Presence: Broadcast to contacts
4 - if initial presence, also send out presence probes
5 - if probe would be to local user, generate presence stanza for them
6 Message: Route as if it is addressed to the bare JID of the sender
7
8 To a local host:
9 IQ: Pass to appropriate handler
10 Presence: -
11 Message: Deliver to admin?
12
13 To local contact:
14 Bare JID:
15 IQ: Pass to appropriate handler
16 Presence: Broadcast to all resources
17 Message: Route to 'best' resource
18 Full JID:
19 IQ: Send to resource
20 Presence: Send to resource
21 Message: Send to resource
22
23 To remote contact:
24 Initiate s2s connection if necessary
25 Send stanza across