code: static boolean heartbeatHasBeenSkipped(EventChannelStruct eventChannelStruct) {
          long now = System.currentTimeMillis();
          //System.out.println(now + "-" + eventChannelStruct.last_heartbeat + "=" +
          //        (now - eventChannelStruct.last_heartbeat));
          return ((now - eventChannelStruct.last_heartbeat) > EVENT_HEARTBEAT_PERIOD);
      }
docs: ===============================================================