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::escalus:client()) -> term()

get_global_option/1

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

get_remote_sessions/1

get_remote_sessions(Config::escalus:config()) -> term()

legacy_get_remote_sessions/0

legacy_get_remote_sessions() -> any()

name/0

name() -> atom()

post_story/1

post_story(Config::escalus:config()) -> escalus:config()

pre_story/1

pre_story(Config::escalus:config()) -> escalus:config()

remote_display/1

remote_display(String::string()) -> true

remote_format/1

remote_format(Format::string()) -> true

remote_format/2

remote_format(Format::string(), Args::[any()]) -> true

reset_option/2

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

rpc/3

rpc(M::atom(), F::atom(), A::[any()]) -> any()

setup_option/2

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

start/1

start(X1::term()) -> ok

stop/1

stop(X1::term()) -> ok

unify_str_arg/1

unify_str_arg(Arg::any()) -> any()

unify_str_arg/2

unify_str_arg(Arg::any(), X2::str | string()) -> any()

wait_for_session_count/2

wait_for_session_count(Config::escalus:config(), Count::non_neg_integer()) -> ok | no_return()

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