Class HeartbeatMessagePojo

java.lang.Object
org.eso.ias.heartbeat.serializer.HeartbeatMessagePojo

public class HeartbeatMessagePojo extends Object
The a java pojo with the heartbeat message.
Author:
acaproni
  • Constructor Details

    • HeartbeatMessagePojo

      public HeartbeatMessagePojo()
      Empty constructor
    • HeartbeatMessagePojo

      public HeartbeatMessagePojo(String hbStringrepresentation, HeartbeatStatus hbStatus, Map<String,String> props, long tStamp)
      Constructor
      Parameters:
      hbStringrepresentation - the string representation of the HB
      hbStatus - the status
      props - additional properties
      tStamp - the timestamp
  • Method Details

    • getTimestamp

      public String getTimestamp()
    • setTimestamp

      public void setTimestamp(String timestamp)
    • getHbStringrepresentation

      public String getHbStringrepresentation()
    • setHbStringrepresentation

      public void setHbStringrepresentation(String hbStringrepresentation)
    • getState

      public HeartbeatStatus getState()
    • setState

      public void setState(HeartbeatStatus state)
    • getProps

      public Map<String,String> getProps()
    • setProps

      public void setProps(Map<String,String> props)