anchor.diff:      broadcast_msg(Clients, COLMsg),
       {noreply, State#?STATE{last_qps = QPSMsg,
                              last_col = COLMsg,
  +                           last_qps_time = Time,
                              collectors = Collectors}};
   handle_cast({new_client, Pid}, State = #?STATE{clients = Clients,
                                                  start_time = StartTime,
  
positive.code: broadcast_msg(Clients, Msg) ->
      [clientsock:send(C, Msg) || C <- Clients].
  
  json_nci_details(undefined, Communities) ->
      json_nci_details(0, Communities);
  json_nci_details(NCI, Communities) ->
      jiffy:encode({[
          {<<"action">>,<<"NCIDetails">>},
          {<<"NCI">>,NCI},
          {<<"Time">>, list_to_binary(tap_time:rfc3339(calendar:universal_time()))},
          {<<"Communities">>, communities(Communities)}
      ]}).
  
  
negative.code: endpoint(_) ->
      <<"invalid">>.
  
  json_collectors(Time, Collectors) ->
      jiffy:encode({[
          {<<"action">>,<<"collectors">>},
          {<<"Time">>, Time},
          {<<"Collectors">>, format_collectors(Collectors)}
      ]}).
  
  