Module escalus_cleaner

Behaviours: gen_server.

Data Types

state()

state() = #state{clients = [pid()]}

Function Index

add_client/2
code_change/3
get_clients/1
handle_call/3
handle_cast/2
handle_info/2
init/1
remove_client/2
start/1
stop/1
terminate/2

Function Details

add_client/2

add_client(Config::escalus:config(), Client::escalus:client()) -> ok

code_change/3

code_change(OldVsn::term(), State::state(), Extra::term()) -> {ok, state()}

get_clients/1

get_clients(Config::escalus:config()) -> [escalus:client()]

handle_call/3

handle_call(X1::term(), From::{pid(), term()}, State::state()) -> {reply, term(), state()} | {noreply, state()} | {stop, normal, ok, state()}

handle_cast/2

handle_cast(X1::term(), State::state()) -> {noreply, state()} | {stop, normal, state()}

handle_info/2

handle_info(Info::term(), State::state()) -> {noreply, state()}

init/1

init(X1::list()) -> {ok, state()}

remove_client/2

remove_client(Config::escalus:config(), Client::escalus:client()) -> ok

start/1

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

stop/1

stop(Config::escalus:config()) -> ok

terminate/2

terminate(Reason::term(), State::state()) -> term()


Generated by EDoc