anchor.diff:      send_msg(Msg, State).
   
   %%%----------------------------------------------------------------
  -handle_idle_timeout(#state{opts = Opts}) ->
  +handle_idle_timeout(#data{opts = Opts}) ->
       case proplists:get_value(idle_time, Opts, infinity) of
   	infinity ->
   	    ok;
  
positive.code:     disconnect(DisconnectMsg, StateName, State);
  
  handle_event(info, {timeout, {_, From} = Request}, StateName,
  	    #state{connection_state = #connection{requests = Requests} = Connection} = State) ->
      case lists:member(Request, Requests) of
  	true ->
  	    {next_state, StateName,
  	     State#state{connection_state =
  			     Connection#connection{requests =
  						       lists:delete(Request, Requests)}},
  	     [{reply,From,{error,timeout}}]};
  
negative.code: 	       end, [], Cache),
      {next_state, StateName, State, [{reply, From, {ok,Result}}]};
  
  handle_event({call,From}, stop, StateName, #data{connection_state = Connection0} = State0) ->
      {disconnect, _Reason, {{replies, Replies}, Connection}} =
  	ssh_connection:handle_msg(#ssh_msg_disconnect{code = ?SSH_DISCONNECT_BY_APPLICATION,
  						      description = "User closed down connection"},
  				  Connection0, role(StateName)),
      {Repls,State} = send_replies(Replies, State0),
      {stop_and_reply, normal, [{reply,From,ok}|Repls], State#data{connection_state=Connection}};
  
  handle_event({call,_}, _, StateName, State) when StateName /= {connected,server},
  						 StateName /= {connected,client}  ->
  