Module mod_last [erl svg]

Behaviours: gen_mod.

Function Index

get_last/2*
get_last_info/2
get_last_iq/3*
get_last_iq_disconnected/3*
get_node_uptime/0*Get the uptime of the ejabberd node, expressed in seconds.
now_to_seconds/1*
on_presence_update/4
process_local_iq/3
process_sm_iq/3
remove_user/2
start/2
stop/1
store_last_info/4
update_table/2*

Function Details

get_last/2 *

get_last(LUser::string(), LServer::string()) -> {ok, TimeStamp::integer(), Status::string()} | not_found | {error, Reason}

To do

get_last_info/2

get_last_info(LUser::string(), LServer::string()) -> {ok, Timestamp::integer(), Status::string()} | not_found

get_last_iq/3 *

get_last_iq(IQ_Rec, LUser, LServer) -> any()

get_last_iq_disconnected/3 *

get_last_iq_disconnected(IQ_Rec, LUser, LServer) -> any()

get_node_uptime/0 *

get_node_uptime() -> integer()

Get the uptime of the ejabberd node, expressed in seconds. When ejabberd is starting, ejabberd_config:start/0 stores the datetime.

now_to_seconds/1 *

now_to_seconds(X1) -> any()

on_presence_update/4

on_presence_update(User, Server, Resource, Status) -> any()

process_local_iq/3

process_local_iq(From, To, Iq) -> any()

process_sm_iq/3

process_sm_iq(From, To, Iq) -> any()

remove_user/2

remove_user(User, Server) -> any()

start/2

start(Host, Opts) -> any()

stop/1

stop(Host) -> any()

store_last_info/4

store_last_info(User, Server, TimeStamp, Status) -> any()

update_table/2 *

update_table(HostB, Storage) -> any()


Generated by EDoc, Aug 28 2014, 07:16:11.