Module orca_conn_srv

Behaviours: gen_server.

Function Index

code_change/3
enter_loop/1
handle_call/3
handle_cast/2
handle_info/2
init/1
recv_packet/1
send_packet/3
set_active/2
shutdown/2
start_link/1
terminate/2
tx_enter_loop/1

Function Details

code_change/3

code_change(OldVsn, State, Extra) -> any()

enter_loop/1

enter_loop(Opts) -> any()

handle_call/3

handle_call(Request, GenReplyTo, State) -> any()

handle_cast/2

handle_cast(Request, State) -> any()

handle_info/2

handle_info(Message, State) -> any()

init/1

init(X1) -> any()

recv_packet/1

recv_packet(Srv::pid()) -> {ok, binary()} | {error, term()}

send_packet/3

send_packet(Srv::pid(), SeqID::non_neg_integer(), Packet::binary()) -> ok

set_active/2

set_active(Srv::pid(), Mode::once | true | false) -> ok

shutdown/2

shutdown(Srv::pid(), Reason::term()) -> ok

start_link/1

start_link(Opts0::[conn_opt()]) -> {ok, pid()}

terminate/2

terminate(Reason, State) -> any()

tx_enter_loop/1

tx_enter_loop(Tcp) -> any()


Generated by EDoc