anchor.diff:  -behaviour(gen_server).
   
   -include("amqp_client.hrl").
  +-include("rmq_patterns.hrl").
   
   -export([init/1, terminate/2, code_change/3, handle_call/3,
            handle_cast/2, handle_info/2]).
  
positive.code: 
  demo(Opts) ->
      {ok, Connection} = amqp_connection:start(network, #amqp_params{}),
      ProxyEx = <<"char_count">>,
      RpcExchange = <<"char_count_server">>,
      ControlExchange = <<"control">>,
      Pid = amqp_smart_proxy:start([Connection, ProxyEx, RpcExchange, ControlExchange, interval_ms(), Opts]),
      io:format("Server started with Pid: ~p~n", [Pid]),
      Pid.
  
  
negative.code: 
  start_demo(debug) ->
      demo([{debug, [trace]}]).
  
  
  %% @spec (Connection, Queue, RpcHandler) -> RpcServer
  