anchor.diff:      ,delete_subscriber/1,reset_subscriber/1
       ,delete_subscribers/0,reset_subscribers/0
       ,add_trigger/2,delete_trigger/1
  +    ,delete_triggers/0
       ,message/1]).
   
   % gen_serv callbacks
  
positive.code: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %% test helpers
  
  delete_triggers() ->
    [watchdog:delete_trigger(K) || {K,_} <- state(triggers)].
  
  mk_receiver(Prot) ->
    receive after 500 -> ok end,
    spawn_monitor(mk_receiver(Prot,[binary,{reuseaddr,true},{active,true}])).
  
negative.code:   {ok,LD#ld{cache_connections=TR}};
  
  % admin triggers
  handle_call(delete_triggers,_,LD) ->
    {ok,LD#ld{triggers=delete_triggers(LD#ld.triggers)}};
  handle_call({delete_trigger,Key},_,LD) ->
    {ok,LD#ld{triggers=delete_trigger(LD#ld.triggers,Key)}};
  handle_call({add_trigger,Key,Val},_,LD) ->
  