Package net.sf.eBusx.monitor
Class TransientStatusMessage
- java.lang.Object
-
- net.sf.eBus.messages.EMessageObject
-
- net.sf.eBus.messages.EMessage
-
- net.sf.eBus.messages.ENotificationMessage
-
- net.sf.eBusx.monitor.TransientStatusMessage
-
- All Implemented Interfaces:
java.io.Serializable
public final class TransientStatusMessage extends ENotificationMessage implements java.io.Serializable
Reports a monitored object's transient event. This event is immediate and not on-going. The notification subject is theMonitorId.typeName
andMonitorId.instanceName
in the format "<type name>.<instance name>". This means that in order to subscribe to this notification, you must first request the registered monitored objects using theMonitoredObjectRequest
message.- Author:
- Charles Rapp
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransientStatusMessage.Builder
Builder class used to create anTransientStatusMessage
message.-
Nested classes/interfaces inherited from class net.sf.eBus.messages.EMessage
EMessage.MessageType
-
-
Field Summary
Fields Modifier and Type Field Description ActionLevel
actionLevel
The instance on-going action level.java.lang.String
actionMessage
Option message explaining the action.java.lang.String
actionName
The on-going action name.int
instance
The monitored object's 4-byte integer identifier.-
Fields inherited from class net.sf.eBus.messages.ENotificationMessage
NO_PUB_ID, position, publisherId
-
Fields inherited from class net.sf.eBus.messages.EMessage
MAX_SUBJECT_LENGTH, subject, timestamp
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransientStatusMessage.Builder
builder()
java.lang.String
toString()
Returns the application information message as text.-
Methods inherited from class net.sf.eBus.messages.ENotificationMessage
equals, hashCode
-
Methods inherited from class net.sf.eBus.messages.EMessage
isApplicationMessage, isSystemMessage, key, messageType, timestampAsInstant
-
-
-
-
Field Detail
-
instance
public final int instance
The monitored object's 4-byte integer identifier.
-
actionLevel
public final ActionLevel actionLevel
The instance on-going action level.
-
actionName
public final java.lang.String actionName
The on-going action name.
-
actionMessage
public final java.lang.String actionMessage
Option message explaining the action.
-
-
Method Detail
-
toString
public java.lang.String toString()
Returns the application information message as text.- Overrides:
toString
in classENotificationMessage
- Returns:
- textual representation of application information.
-
builder
public static TransientStatusMessage.Builder builder()
-
-