Behaviours: gen_mod, gen_server.
broadcast_service_message(Host, Msg) -> any()
can_use_nick(Host, JID, Nick) -> any()
check_user_can_create_room(ServerHost, AccessCreate, From, RoomID) -> any()
code_change(OldVsn, State, Extra) -> any()
create_room(Host, Name, From, Nick, Opts) -> any()
Create a room. If Opts = default, the default room options are used. Else use the passed options as defined in mod_muc_room.
do_route(Host, ServerHost, Access, HistorySize, RoomShaper, From, To, Packet, DefRoomOpts) -> any()
do_route1(Host, ServerHost, Access, HistorySize, RoomShaper, From, To, Packet, DefRoomOpts) -> any()
flush() -> any()
forget_room(Host, Name) -> any()
get_room_pos(Desired::muc_online_room(), Rooms::[muc_online_room()]) -> integer()
Return the position of desired room in the list of rooms. The room must exist in the list. The count starts in 0.
get_room_pos(Desired, Rooms, HeadPosition) -> any()
get_vh_rooms(Host) -> any()
get_vh_rooms(Host, Rsm_in) -> any()
get_vh_rooms_all_nodes(Host) -> any()
get_vh_rooms_direction(Direction, I, Index, AllRooms) -> any()
handle_call(X1, From, State) -> any()
handle_cast(Msg, State) -> any()
handle_info(Info, State) -> any()
init(X1) -> any()
iq_disco_info(Lang) -> any()
iq_disco_items(Host, From, Lang, Rsm) -> any()
iq_get_register_info(Host, From, Lang) -> any()
iq_get_unique_el(From) -> any()
iq_get_unique_name(From) -> any()
Get a pseudo unique Room Name. The Room Name is generated as a hash of the requester JID, the local time and a random salt.
"pseudo" because we don't verify that there is not a room with the returned Name already created, nor mark the generated Name as "already used". But in practice, it is unique enough. See http://xmpp.org/extensions/xep-0045.html#createroom-uniqueiq_get_vcard(Lang) -> any()
iq_set_register_info(Host, From, Nick, Lang) -> any()
l2b(String) -> any()
load_permanent_rooms(Host, ServerHost1, Access, HistorySize, RoomShaper) -> any()
migrate(After) -> any()
process_iq_disco_items(Host, From, To, Iq) -> any()
process_iq_register_set(Host, From, SubEl, Lang) -> any()
register_room(Host, Room, Pid) -> any()
register_room_internal(Host, Room, Pid) -> any()
remove_host(MyHostB) -> any()
restore_room_internal(Host, Name) -> any()
room_destroyed(Host, Room, Pid, ServerHost) -> any()
start(Host, Opts) -> any()
start_link(Host, Opts) -> any()
start_new_room(Host, ServerHost, Access, Room, HistorySize, RoomShaper, From, Nick, DefRoomOpts) -> any()
start_supervisor(Host) -> any()
stop(Host) -> any()
stop_supervisor(Host) -> any()
store_room(Host, Name, Opts) -> any()
terminate(Reason, State) -> any()
update_tables(HostB, Storage) -> any()
Generated by EDoc, May 23 2012, 07:15:14.