Class MonitoringMessage

java.lang.Object
i5.las2peer.logging.monitoring.MonitoringMessage
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
XESEventMessage

public class MonitoringMessage extends Object implements Serializable
This class stores a message that was logged by the monitoring module of las2peer. An Array of instances of this class is send via a Message to the central monitoring node.
See Also:
  • Constructor Details

    • MonitoringMessage

      public MonitoringMessage(Long timestamp, MonitoringEvent event, String sourceNode, String sourceAgentId, String destinationNode, String destinationAgentId, String remarks)
      Constructor of a MonitoringMessage.
      Parameters:
      timestamp - A timestamp for this message
      event - A monitoring event identifier
      sourceNode - A source node
      sourceAgentId - A source agent id
      destinationNode - A destination node
      destinationAgentId - A destination agent id
      remarks - Any additional information about this message
  • Method Details

    • getTimestamp

      public Long getTimestamp()
    • getEvent

      public MonitoringEvent getEvent()
    • getSourceNode

      public String getSourceNode()
    • getSourceAgentId

      public String getSourceAgentId()
    • getDestinationNode

      public String getDestinationNode()
    • getDestinationAgentId

      public String getDestinationAgentId()
    • getRemarks

      public String getRemarks()