1
%% -*- erlang-indent-level: 4;indent-tabs-mode: nil -*-
14
-behavior(gen_server).
16
-include("../include/test_pb.hrl").
18
-record(state, {node :: node()}).
20
start_link() -> start_link(undefined).
23
gen_server:start_link({local, ?MODULE}, ?MODULE, Args, []).
25
init(_Args) -> {ok, #state{node=node()}}.
27
terminate(_Reason, _Data) -> ok.
29
handle_info(_Info, State) -> {noreply, State}.
31
handle_cast(_Msg, State) -> {noreply, State}.
33
handle_call(_Msg, _From, State) -> {reply, ok, State}.
35
code_change(_OldVsn, State, _Extra) -> {ok, State}.