Module escalus_ejabberd

Behaviours: escalus_server, escalus_user_db.

Data Types

option()

option() = option(term())

option()

option(Type) = {Name::atom(), Getter::fun(() -> Type), Setter::fun((Type) -> any()), Value::Type}

Function Index

create_users/2
default_get_remote_sessions/0
delete_users/2
get_c2s_status/1
get_global_option/1
get_remote_sessions/1
legacy_get_remote_sessions/0
name/0
post_story/1
pre_story/1
remote_display/1
remote_format/1
remote_format/2
reset_option/2
rpc/3
setup_option/2
start/1
stop/1
unify_str_arg/1
unify_str_arg/2
wait_for_session_count/2
with_global_option/3
with_local_option/3

Function Details

create_users/2

create_users(Config::escalus:config(), Users::[escalus_users:named_user()]) -> escalus:config()

default_get_remote_sessions/0

default_get_remote_sessions() -> any()

delete_users/2

delete_users(Config::escalus:config(), Users::[escalus_users:named_user()]) -> escalus:config()

get_c2s_status/1

get_c2s_status(Client) -> any()

get_global_option/1

get_global_option(Option::term()) -> term()

get_remote_sessions/1

get_remote_sessions(Config) -> any()

legacy_get_remote_sessions/0

legacy_get_remote_sessions() -> any()

name/0

name() -> any()

post_story/1

post_story(Config) -> any()

pre_story/1

pre_story(Config) -> any()

remote_display/1

remote_display(String) -> any()

remote_format/1

remote_format(Format) -> any()

remote_format/2

remote_format(Format, Args) -> any()

reset_option/2

reset_option(X1::option(), Config) -> Config

rpc/3

rpc(M, F, A) -> any()

setup_option/2

setup_option(X1::option(), Config) -> Config

start/1

start(X1) -> any()

stop/1

stop(X1) -> any()

unify_str_arg/1

unify_str_arg(Arg) -> any()

unify_str_arg/2

unify_str_arg(Arg, X2) -> any()

wait_for_session_count/2

wait_for_session_count(Config, Count) -> any()

with_global_option/3

with_global_option(Option::atom(), Value::any(), Fun::fun(() -> Type)) -> Type

with_local_option/3

with_local_option(Option::atom(), Value::any(), Fun::fun(() -> Type)) -> Type


Generated by EDoc