Annotate

doc/lxmppd_core_offlinemessages.txt @ 679:9506bf204b1a

Numerous BOSH improvements... handle client disconnects, either explicit or implicit through inactivity; allow specifying BOSH default parameters through config; fix to prevent prematurely closing request connections in some cases, before they were replied to
author Matthew Wild <mwild1@gmail.com>
date Fri, 09 Jan 2009 16:33:09 +0000
parent 23:236375777f8c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
1 lxmppd -> core -> offlinemessages.lua
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
2 requires "util.datamanager"
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
3 module "offlinemessage"
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
4
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
5 function new(user, host, stanza)
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
6 returns a function that stores the offline message it received
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
7
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
8 This module offers storing of offline messages.
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
9
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
10 Description: If the user that is supposed to get the message is not online,
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
11 we store the messages locally as offline messages for later
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
12 processing.