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
Message that is delivered to a WatchdogObserver if something went wrong.
-
Constructor Summary
ConstructorsConstructorDescriptionWatchdogMessage(String payload, Exception reason) Constructs a new instance. -
Method Summary
Methods inherited from class org.somda.sdc.common.event.AbstractEventMessage
getPayload
-
Constructor Details
-
WatchdogMessage
Constructs a new instance.- Parameters:
payload- the endpoint reference address this watchdog message belongs toreason- the reason the watchdog sends this message.
-
-
Method Details
-
getReason
-