Module mod_muc_room [erl svg]

Function Index

add_message_to_history/4*
add_new_user/4*
add_online_user/4*
add_to_log/3*
add_user_presence/3*
add_user_presence_un/3*
affiliation_to_binary/1*
binary_to_affiliation/1*
binary_to_role/1*
calc_shift/2*
calc_shift/4*
can_change_ra/7*
can_change_subject/2*
change_config/2*
change_nick/3*
change_stanzaid/2*
change_stanzaid/3*
check_captcha/3*
check_decline_invitation/1*
check_error_kick/1*
check_invitation/4*
check_password/5*
check_subject/1*
clean_treap/2*
code_change/4
count_maxchars_shift/3*
count_maxstanzas_shift/2*
count_seconds_shift/2*
count_stanza_shift/3*
decide_fate_message/4*
destroy_room/2*
expulse_participant/4*
extract_history/2*
extract_password/1*
filter_presence/1*
find_changed_items/7*
find_jid_by_nick/2*
find_jids_by_nick/2*
get_affiliation/2*
get_config/3*
get_default_role/2*
get_default_room_maxusers/1*
get_error_condition/1*
get_max_users/1*
get_max_users_admin_threshold/1*
get_mucroom_disco_items/1*
get_participant_data/2*Get information of this participant, or default values.
get_role/2*
get_roomdesc_reply/3*
get_roomdesc_tail/2*
get_service_affiliation/2*
get_service_max_users/1*
get_stanza_id/1*
get_title/1*
get_user_activity/2*
handle_event/3
handle_info/3
handle_iq_vcard/5*
handle_iq_vcard2/8*
handle_roommessage_from_nonparticipant/4*
handle_sync_event/4
higher_presence/2*
init/1
iq_disco_info_extras/2*
is_allowed_log_change/3*
is_allowed_persistent_change/3*
is_allowed_room_name_desc_limits/2*
is_moderator/2*
is_nick_change/3*
is_occupant_or_admin/2*
is_password_settings_correct/2*
is_user_allowed_message_nonparticipant/2*Check if this non participant can send message to room.
is_user_online/2*
is_user_online_iq/3*
is_user_online_iq2/3*
is_visitor/2*
items_with_affiliation/2*
items_with_role/2*
jid_replace_resource/2*
lqueue_cut/2*
lqueue_in/2*
lqueue_new/1*
lqueue_to_list/1*
make_opts/1*
migrate/3
nick_collision/3*
normal_state/2
now_to_usec/1*
prepare_room_queue/1*
print_state/1
process_admin_items_set/2*
process_admin_items_set/4*
process_admin_items_set2/2*
process_admin_items_set3/2*
process_groupchat_message/3*
process_iq_admin/5*
process_iq_captcha/5*
process_iq_disco_info/4*
process_iq_disco_items/4*
process_iq_owner/5*
process_presence/4*
remove_nonmembers/1*
remove_online_user/2*
remove_online_user/3*
replace_subelement/2*
role_to_binary/1*
route/4
search_affiliation/2*
search_role/2*
send_decline_invitation/3*
send_error_only_occupants/4*
send_existing_presences/2*
send_history/3*
send_kickban_presence/4*
send_kickban_presence/5*
send_kickban_presence1/5*
send_multiple/4*
send_new_presence/2*
send_new_presence/3*
send_nick_changing/5*
send_subject/3*
send_update_presence/2*
send_update_presence/3*
set_affiliation/3*
set_affiliation_and_reason/4*
set_config/2*
set_opts/2*
set_role/3*
set_xoption/2*
stanzaid_pack/2*
stanzaid_unpack/1*
start/2
start/7
start/9
start_link/2
start_link/7
start_link/9
store_user_activity/3*
strip_status/1*
tab_add_online_user/2*
tab_count_user/1*
tab_remove_online_user/2*
terminate/3
user_to_item/2*

Function Details

add_message_to_history/4 *

add_message_to_history(FromNick, FromJID, Packet, StateData) -> any()

add_new_user/4 *

add_new_user(From, Nick, Packet, StateData) -> any()

add_online_user/4 *

add_online_user(JID, Nick, Role, StateData) -> any()

add_to_log/3 *

add_to_log(Type, Data, StateData) -> any()

add_user_presence/3 *

add_user_presence(JID, Presence, StateData) -> any()

add_user_presence_un/3 *

add_user_presence_un(JID, Presence, StateData) -> any()

affiliation_to_binary/1 *

affiliation_to_binary(Affiliation) -> any()

binary_to_affiliation/1 *

binary_to_affiliation(Affiliation) -> any()

binary_to_role/1 *

binary_to_role(Role) -> any()

calc_shift/2 *

calc_shift(MaxSize, Sizes) -> any()

calc_shift/4 *

calc_shift(MaxSize, Size, Shift, TSizes) -> any()

can_change_ra/7 *

can_change_ra(FAffiliation, FRole, TAffiliation, TRole, X5, Value, ServiceAf) -> any()

can_change_subject/2 *

can_change_subject(Role, StateData) -> any()

change_config/2 *

change_config(Config, StateData) -> any()

change_nick/3 *

change_nick(JID, Nick, StateData) -> any()

change_stanzaid/2 *

change_stanzaid(NewId, Packet) -> any()

change_stanzaid/3 *

change_stanzaid(PreviousId, ToJID, Packet) -> any()

check_captcha/3 *

check_captcha(Affiliation, From, StateData) -> any()

check_decline_invitation/1 *

check_decline_invitation(Packet) -> any()

check_error_kick/1 *

check_error_kick(Packet) -> any()

check_invitation/4 *

check_invitation(From, Els, Lang, StateData) -> any()

check_password/5 *

check_password(ServiceAffiliation, Affiliation, Els, From, StateData) -> any()

check_subject/1 *

check_subject(Packet) -> any()

clean_treap/2 *

clean_treap(Treap, CleanPriority) -> any()

code_change/4

code_change(OldVsn, StateName, StateData, Extra) -> any()

count_maxchars_shift/3 *

count_maxchars_shift(Nick, MaxSize, HistoryList) -> any()

count_maxstanzas_shift/2 *

count_maxstanzas_shift(MaxStanzas, HistoryList) -> any()

count_seconds_shift/2 *

count_seconds_shift(Seconds, HistoryList) -> any()

count_stanza_shift/3 *

count_stanza_shift(Nick, Els, StateData) -> any()

decide_fate_message/4 *

decide_fate_message(X1, Packet, From, StateData) -> any()

destroy_room/2 *

destroy_room(DEl, StateData) -> any()

expulse_participant/4 *

expulse_participant(Packet, From, StateData, Reason1) -> any()

extract_history/2 *

extract_history(Els, Type) -> any()

extract_password/1 *

extract_password(Els) -> any()

filter_presence/1 *

filter_presence(Xmlel) -> any()

find_changed_items/7 *

find_changed_items(UJID, UAffiliation, URole, Items, Lang, StateData, Res) -> any()

find_jid_by_nick/2 *

find_jid_by_nick(Nick, StateData) -> any()

find_jids_by_nick/2 *

find_jids_by_nick(Nick, StateData) -> any()

get_affiliation/2 *

get_affiliation(JID, StateData) -> any()

get_config/3 *

get_config(Lang, StateData, From) -> any()

get_default_role/2 *

get_default_role(Affiliation, StateData) -> any()

get_default_room_maxusers/1 *

get_default_room_maxusers(RoomState) -> any()

get_error_condition/1 *

get_error_condition(Packet) -> any()

get_max_users/1 *

get_max_users(StateData) -> any()

get_max_users_admin_threshold/1 *

get_max_users_admin_threshold(StateData) -> any()

get_mucroom_disco_items/1 *

get_mucroom_disco_items(StateData) -> any()

get_participant_data/2 *

get_participant_data(From, StateData) -> any()

Get information of this participant, or default values. If the JID is not a participant, return values for a service message.

get_role/2 *

get_role(JID, StateData) -> any()

get_roomdesc_reply/3 *

get_roomdesc_reply(JID, StateData, Tail) -> any()

get_roomdesc_tail/2 *

get_roomdesc_tail(StateData, Lang) -> any()

get_service_affiliation/2 *

get_service_affiliation(JID, StateData) -> any()

get_service_max_users/1 *

get_service_max_users(StateData) -> any()

get_stanza_id/1 *

get_stanza_id(Packet) -> any()

get_title/1 *

get_title(StateData) -> any()

get_user_activity/2 *

get_user_activity(JID, StateData) -> any()

handle_event/3

handle_event(Event, StateName, StateData) -> any()

handle_info/3

handle_info(Info, StateName, StateData) -> any()

handle_iq_vcard/5 *

handle_iq_vcard(FromFull, ToJID, StanzaId, NewId, Packet) -> any()

handle_iq_vcard2/8 *

handle_iq_vcard2(FromFull, ToJID, ToBareJID, IsToJIDBare, StanzaId, NewId, Iq, Packet) -> any()

handle_roommessage_from_nonparticipant/4 *

handle_roommessage_from_nonparticipant(Packet, Lang, StateData, From) -> any()

handle_sync_event/4

handle_sync_event(Event, From, StateName, StateData) -> any()

higher_presence/2 *

higher_presence(Pres1, Pres2) -> any()

init/1

init(X1) -> any()

iq_disco_info_extras/2 *

iq_disco_info_extras(Lang, StateData) -> any()

is_allowed_log_change/3 *

is_allowed_log_change(XEl, StateData, From) -> any()

is_allowed_persistent_change/3 *

is_allowed_persistent_change(XEl, StateData, From) -> any()

is_allowed_room_name_desc_limits/2 *

is_allowed_room_name_desc_limits(XEl, StateData) -> any()

is_moderator/2 *

is_moderator(Jid, StateData) -> any()

is_nick_change/3 *

is_nick_change(JID, Nick, StateData) -> any()

is_occupant_or_admin/2 *

is_occupant_or_admin(JID, StateData) -> any()

is_password_settings_correct/2 *

is_password_settings_correct(XEl, StateData) -> any()

is_user_allowed_message_nonparticipant/2 *

is_user_allowed_message_nonparticipant(JID, StateData) -> any()

Check if this non participant can send message to room.

XEP-0045 v1.23: 7.9 Sending a Message to All Occupants an implementation MAY allow users with certain privileges (e.g., a room owner, room admin, or service-level admin) to send messages to the room even if those users are not occupants.

is_user_online/2 *

is_user_online(JID, StateData) -> any()

is_user_online_iq/3 *

is_user_online_iq(StanzaId, JID, StateData) -> any()

is_user_online_iq2/3 *

is_user_online_iq2(StanzaId, JID, StateData) -> any()

is_visitor/2 *

is_visitor(Jid, StateData) -> any()

items_with_affiliation/2 *

items_with_affiliation(SAffiliation, StateData) -> any()

items_with_role/2 *

items_with_role(SRole, StateData) -> any()

jid_replace_resource/2 *

jid_replace_resource(JID, Resource) -> any()

lqueue_cut/2 *

lqueue_cut(Q, N) -> any()

lqueue_in/2 *

lqueue_in(Item, LQ) -> any()

lqueue_new/1 *

lqueue_new(Max) -> any()

lqueue_to_list/1 *

lqueue_to_list(Lqueue) -> any()

make_opts/1 *

make_opts(StateData) -> any()

migrate/3

migrate(FsmRef, Node, After) -> any()

nick_collision/3 *

nick_collision(User, Nick, StateData) -> any()

normal_state/2

normal_state(Event, StateData) -> any()

now_to_usec/1 *

now_to_usec(X1) -> any()

prepare_room_queue/1 *

prepare_room_queue(StateData) -> any()

print_state/1

print_state(StateData) -> any()

process_admin_items_set/2 *

process_admin_items_set(E, SD) -> any()

process_admin_items_set/4 *

process_admin_items_set(UJID, Items, Lang, StateData) -> any()

process_admin_items_set2/2 *

process_admin_items_set2(E, SD) -> any()

process_admin_items_set3/2 *

process_admin_items_set3(X1, SD) -> any()

process_groupchat_message/3 *

process_groupchat_message(From, Xmlel, StateData) -> any()

process_iq_admin/5 *

process_iq_admin(From, X2, Lang, SubEl, StateData) -> any()

process_iq_captcha/5 *

process_iq_captcha(From, X2, Lang, SubEl, StateData) -> any()

process_iq_disco_info/4 *

process_iq_disco_info(From, X2, Lang, StateData) -> any()

process_iq_disco_items/4 *

process_iq_disco_items(From, X2, Lang, StateData) -> any()

process_iq_owner/5 *

process_iq_owner(From, X2, Lang, SubEl, StateData) -> any()

process_presence/4 *

process_presence(From, Nick, Xmlel, StateData) -> any()

remove_nonmembers/1 *

remove_nonmembers(StateData) -> any()

remove_online_user/2 *

remove_online_user(JID, StateData) -> any()

remove_online_user/3 *

remove_online_user(JID, StateData, Reason) -> any()

replace_subelement/2 *

replace_subelement(Xmlel, NewSubEl) -> any()

role_to_binary/1 *

role_to_binary(Role) -> any()

route/4

route(Pid, From, ToNick, Packet) -> any()

search_affiliation/2 *

search_affiliation(Affiliation, StateData) -> any()

search_role/2 *

search_role(Role, StateData) -> any()

send_decline_invitation/3 *

send_decline_invitation(X1, RoomJID, FromJID) -> any()

send_error_only_occupants/4 *

send_error_only_occupants(Packet, Lang, RoomJID, From) -> any()

send_existing_presences/2 *

send_existing_presences(ToJID, StateData) -> any()

send_history/3 *

send_history(JID, Shift, StateData) -> any()

send_kickban_presence/4 *

send_kickban_presence(JID, Reason, Code, StateData) -> any()

send_kickban_presence/5 *

send_kickban_presence(JID, Reason, Code, NewAffiliation, StateData) -> any()

send_kickban_presence1/5 *

send_kickban_presence1(UJID, Reason, Code, Affiliation, StateData) -> any()

send_multiple/4 *

send_multiple(From, Server, Users, Packet) -> any()

send_new_presence/2 *

send_new_presence(NJID, StateData) -> any()

send_new_presence/3 *

send_new_presence(NJID1, Reason, StateData) -> any()

send_nick_changing/5 *

send_nick_changing(JID, OldNick, StateData, SendOldUnavailable, SendNewAvailable) -> any()

send_subject/3 *

send_subject(JID, Lang, StateData) -> any()

send_update_presence/2 *

send_update_presence(JID, StateData) -> any()

send_update_presence/3 *

send_update_presence(JID, Reason, StateData) -> any()

set_affiliation/3 *

set_affiliation(JID, Affiliation, StateData) -> any()

set_affiliation_and_reason/4 *

set_affiliation_and_reason(JID, Affiliation, Reason, StateData) -> any()

set_config/2 *

set_config(XEl, StateData) -> any()

set_opts/2 *

set_opts(Opts, StateData) -> any()

set_role/3 *

set_role(JID, Role, StateData) -> any()

set_xoption/2 *

set_xoption(Opts, Config) -> any()

stanzaid_pack/2 *

stanzaid_pack(OriginalId, Resource) -> any()

stanzaid_unpack/1 *

stanzaid_unpack(StanzaIdBase64) -> any()

start/2

start(StateName, StateData) -> any()

start/7

start(Host, ServerHost, Access, Room, HistorySize, RoomShaper, Opts) -> any()

start/9

start(Host, ServerHost, Access, Room, HistorySize, RoomShaper, Creator, Nick, DefRoomOpts) -> any()

start_link/2

start_link(StateName, StateData) -> any()

start_link/7

start_link(Host, ServerHost, Access, Room, HistorySize, RoomShaper, Opts) -> any()

start_link/9

start_link(Host, ServerHost, Access, Room, HistorySize, RoomShaper, Creator, Nick, DefRoomOpts) -> any()

store_user_activity/3 *

store_user_activity(JID, UserActivity, StateData) -> any()

strip_status/1 *

strip_status(Xmlel) -> any()

tab_add_online_user/2 *

tab_add_online_user(JID, StateData) -> any()

tab_count_user/1 *

tab_count_user(JID) -> any()

tab_remove_online_user/2 *

tab_remove_online_user(JID, StateData) -> any()

terminate/3

terminate(Reason, StateName, StateData) -> any()

user_to_item/2 *

user_to_item(User, StateData) -> any()


Generated by EDoc, May 23 2012, 07:15:14.