code: public void handleHeartbeat(Heartbeat hrtBeat) {
          HeartbeatAck hrtBeatAck = (HeartbeatAck) this.aspFactoryImpl.messageFactory.createMessage(
                  MessageClass.ASP_STATE_MAINTENANCE, MessageType.HEARTBEAT_ACK);
          hrtBeatAck.setHeartbeatData(hrtBeat.getHeartbeatData());
          this.aspFactoryImpl.write(hrtBeatAck);
  
      }
docs: If we receive Heartbeat, we send back response
  
  @param hrtBeat