anchor.diff:  -behaviour(gen_fsm).
   
   -include("pushy.hrl").
  -
  --type logging_level() :: 'verbose' | 'normal'.
  -
   
   %% API
   -export([start_link/1,
  
positive.code:     State#state{state_timer=TRef}.
  
  state_transition(Current, New, #state{node_ref=NodeRef, watchers=Watchers}) ->
      lager:info("~p transitioning from ~p to ~p~n", [NodeRef, Current, New]),
      notify_watchers(Watchers, NodeRef, Current, New),
      New.
  
  
negative.code:     {reply, {StateName, Job}, StateName, State}.
  
  handle_info(heartbeat, booting, #state{heartbeats=HBeats}=State) ->
      HBeats1 = HBeats + 1,
      State1 = State#state{heartbeats=HBeats1},
      case HBeats1 > 3 of
  