Class WatchdogMessage

java.lang.Object
org.somda.sdc.common.event.AbstractEventMessage<String>
org.somda.sdc.glue.consumer.event.WatchdogMessage
All Implemented Interfaces:
org.somda.sdc.common.event.EventMessage

public class WatchdogMessage extends org.somda.sdc.common.event.AbstractEventMessage<String>
Message that is delivered to a WatchdogObserver if something went wrong.
  • Constructor Details

    • WatchdogMessage

      public WatchdogMessage(String payload, Exception reason)
      Constructs a new instance.
      Parameters:
      payload - the endpoint reference address this watchdog message belongs to
      reason - the reason the watchdog sends this message.
  • Method Details