anchor.diff:  	_ ->
   	    {error, "Transaction handler failure"}
       end.
  +
  +get_handler_for_request(Request) when record(Request, request) ->
  +    CompatRequest = {Request#request.method, Request#request.uri, Request#request.header, Request#request.body},
  +    get_handler_for_request(CompatRequest);
   
   get_handler_for_request(Request) ->
       case catch gen_server:call(transaction_layer, {get_server_transaction_handler, Request}, 2500) of
  
positive.code: %% Function: start_link/3
  %% Description: Starts the server
  %%--------------------------------------------------------------------
  start_link(RequestFun, ResponseFun, Mode) ->
      gen_server:start_link({local, transaction_layer}, ?MODULE, [RequestFun, ResponseFun, Mode], []).
  
  %%====================================================================
  %% Server functions
  
negative.code: %% gen_server callbacks
  -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]).
  
  -record(state, {tstatelist, appmodule, mode}).
  -record(thandler, {pid}).
  
  -define(TIMEOUT, 7 * 1000).
  