marina_control (marina v0.4.3)
View SourceSummary
Types
-type data() :: #data{bootstrap_ips :: [string()], port :: pos_integer(), backoff :: pos_integer(), socket :: undefined | inet:socket(), buffer :: binary()}.
Functions
-spec callback_mode() -> state_functions.
-spec connecting(gen_statem:event_type(), term(), data()) -> gen_statem:event_handler_result(atom()).
-spec init(undefined) -> {ok, connecting, data(), [gen_statem:action()]}.
-spec start_link() -> {ok, pid()}.
-spec subscribed(gen_statem:event_type(), term(), data()) -> gen_statem:event_handler_result(atom()).