anchor.diff:      gen_server:start_link({local, ?MODULE}, ?MODULE, [], []).
   
   stop() ->
  -    gen_server:call(?MODULE, stop).
  +    gen_server:call(?MODULE, stop, ?DEF_TIMEOUT).
   
   
   %% @doc Register gateway and storage pid in monitor.
  
positive.code: -define(APPLY_AFTER_TIME, 1000).
  -endif.
  
  
  %%--------------------------------------------------------------------
  %% API
  
negative.code: -spec(register(first|again, pid(), atom(), storage|gateway) ->
               ok).
  register(RequestedTimes, Pid, Node, TypeOfNode) ->
      gen_server:call(?MODULE, {register, RequestedTimes, Pid, Node, TypeOfNode}, ?DEF_TIMEOUT).
  
  
  %% @doc Demonitor pid from monitor.
  %%
  -spec(demonitor(Node::atom()) -> ok | undefined).
  demonitor(Node) ->
      gen_server:call(?MODULE, {demonitor, Node}, ?DEF_TIMEOUT).
  
  
  %% @doc Retrieve pid of remote-nodes.
  