Class HeartbeatMessage

java.lang.Object
org.jppf.comm.recovery.HeartbeatMessage
All Implemented Interfaces:
Serializable

public class HeartbeatMessage extends Object implements Serializable
Instances of this class represent heartbeat data exchanged between a driver and a node, client or peer driver.
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • HeartbeatMessage

      public HeartbeatMessage(long messageID)
      Initialize this message with the specified message id.
      Parameters:
      messageID - the id of this message.
  • Method Details

    • getUuid

      public String getUuid()
      Returns:
      the remote peer's uuid.
    • setUuid

      public void setUuid(String uuid)
      Set the remote peer's uuid.
      Parameters:
      uuid - the uuid ot set.
    • getMessageID

      public long getMessageID()
      Returns:
      the message id.
    • getResponse

      public HeartbeatMessage getResponse()
      Returns:
      the response, if any.
    • setResponse

      public void setResponse(HeartbeatMessage response)
      Set the response for request messages
      Parameters:
      response - the response to set.
    • getProperties

      public TypedProperties getProperties()
      Returns:
      the additional properties sent in the message.
    • toString

      public String toString()
      Overrides:
      toString in class Object