aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lxmppd_core_stanz_dispatch.txt
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-11-25 17:40:24 +0000
committerMatthew Wild <mwild1@gmail.com>2009-11-25 17:40:24 +0000
commit8c7f9073d37f1fa826fd63f165e63c91d24c2996 (patch)
tree54a977f9f601366ceacb964582802b4a5ebf0965 /doc/lxmppd_core_stanz_dispatch.txt
parent2bf3510fef8741dcdd355de1d2b6c4f6e44c70df (diff)
parentbdd5151bc7c2f7d6873ca0fa2b06962567811b79 (diff)
downloadprosody-8c7f9073d37f1fa826fd63f165e63c91d24c2996.tar.gz
prosody-8c7f9073d37f1fa826fd63f165e63c91d24c2996.zip
Merge with trunk
Diffstat (limited to 'doc/lxmppd_core_stanz_dispatch.txt')
-rw-r--r--doc/lxmppd_core_stanz_dispatch.txt27
1 files changed, 0 insertions, 27 deletions
diff --git a/doc/lxmppd_core_stanz_dispatch.txt b/doc/lxmppd_core_stanz_dispatch.txt
deleted file mode 100644
index 15bb730b..00000000
--- a/doc/lxmppd_core_stanz_dispatch.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-lxmppd -> core -> stanza_dispatch
- requires "util.stanza"
- requires "core.usermanager"
-
-function init_stanza_dispatcher(session)
- Initialises the stanza dispatcher which handles different stanza according
- to their type and XML namespace, dispatching to required handlers.
-
- iq_handlers["jabber:iq:auth"]
- A list of handlers for "jabber:iq:auth" stanzas -- authentication
- (request) stanzas.
-
- function (stanza)
- If one of username, password and resource are missing then it ????.
- If not, then it validates the credentials and replies with the
- appropriate stanza.
-
- iq_handlers["jabber:iq:roster"]
- A list of handlers for "jabber:iq:roster" stanzas -- roster management
-
- function (stanza)
- Parses the type of stanza for roster management and does what is
- requested (roster retrieval, etc.)
-
- function (stanza)
- Validates the stanza and calls the required handler
-