View Source esockd_server (esockd v5.9.3-rc.1)

Link to this section Summary

Link to this section Functions

Link to this function

code_change(OldVsn, State, Extra)

View Source
Link to this function

dec_stats(_, Metric, Num)

View Source
-spec dec_stats({atom(), esockd:listen_on()}, atom(), pos_integer()) -> any().
-spec del_stats({atom(), esockd:listen_on()}) -> ok.
-spec get_stats({atom(), esockd:listen_on()}) -> [{atom(), non_neg_integer()}].
Link to this function

handle_call(Req, From, State)

View Source
Link to this function

handle_info(Info, State)

View Source
Link to this function

inc_stats(_, Metric, Num)

View Source
-spec inc_stats({atom(), esockd:listen_on()}, atom(), pos_integer()) -> any().
-spec init_stats({atom(), esockd:listen_on()}, atom()) -> ok.
-spec start_link() -> {ok, pid()} | ignore | {error, term()}.
-spec stats_fun({atom(), esockd:listen_on()}, atom()) -> fun().
-spec stop() -> ok.
Link to this function

terminate(Reason, State)

View Source