public void handleKeepAliveSignal(long platformIdent){
  AgentStatusData agentStatusData=agentStatusDataMap.get(platformIdent);
  if (null != agentStatusData) {
    agentStatusData.setLastKeepAliveTimestamp(System.currentTimeMillis());
    if (agentStatusData.getAgentConnection() == AgentConnection.NO_KEEP_ALIVE) {
      agentStatusData.setAgentConnection(AgentConnection.CONNECTED);
      if (log.isInfoEnabled()) {
        log.info("Platform " + platformIdent + " sending keep-alive signals again.");
      }
    }
  }
}

public void handleKeepAliveSignal ( long platformIdent ) { AgentStatusData agentStatusData = agentStatusDataMap . get ( platformIdent ) ; if ( null != agentStatusData ) { agentStatusData . setLastKeepAliveTimestamp ( System . currentTimeMillis ( ) ) ; if ( agentStatusData . getAgentConnection ( ) == AgentConnection . NO_KEEP_ALIVE ) { agentStatusData . setAgentConnection ( AgentConnection . CONNECTED ) ; if ( log . isInfoEnabled ( ) ) { log . info ( "Platform " + platformIdent + " sending keep-alive signals again." ) ; } } } }
registers the time when the last keep - alive was received for a given platform ident .
