Behaviours: gen_server.
connection_timeout() = timeout()
host() = inet:ip_address() | string()
max_connections() = pos_integer()
port_number() = 1..65535
tagged_tuples() = [{atom(), any()}]
checkin/4 | |
checkout/5 | |
code_change/3 | |
handle_call/3 | |
handle_cast/2 | |
handle_info/2 | |
init/1 | |
start_link/5 | |
status/0 | |
terminate/2 |
checkin(Host::host(), Port::port_number(), SSL::boolean(), Socket::port()) -> ok
checkout(Host::host(), Port::port_number(), SSL::boolean(), MaxConn::max_connections(), ConnTimeout::connection_timeout()) -> {ok, port()} | retry_later | no_socket
code_change(OldVsn, State, Extra) -> any()
handle_call(Msg, From, S) -> any()
handle_cast(Msg, S) -> any()
handle_info(Info, S) -> any()
init(X1) -> any()
start_link(Host::host(), Port::port_number(), SSL::boolean(), MaxConn::max_connections(), ConnTimeout::connection_timeout()) -> {ok, pid()}
status() -> tagged_tuples()
terminate(Reason, State) -> any()
Generated by EDoc