Package net.sf.eBusx.monitor
Class MonitoredObjectReply
- java.lang.Object
-
- net.sf.eBus.messages.EMessageObject
-
- net.sf.eBus.messages.EMessage
-
- net.sf.eBus.messages.EReplyMessage
-
- net.sf.eBusx.monitor.MonitoredObjectReply
-
- All Implemented Interfaces:
java.io.Serializable
public final class MonitoredObjectReply extends EReplyMessage implements java.io.Serializable
Returns persistent status for all currently registered monitored objects within the eBus virtual machine, specified as an array ofPersistentStatusMessage
s. This message is sent in reply to aMonitoredObjectRequest
with the subjectMonitor.ONGOING_REQUEST_SUBJECT
.- Author:
- Charles Rapp
- See Also:
MonitoredObjectRequest
, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MonitoredObjectReply.Builder
Builder class used to create aMonitoredObjectReply
instance.-
Nested classes/interfaces inherited from class net.sf.eBus.messages.EReplyMessage
EReplyMessage.ConcreteBuilder, EReplyMessage.ReplyStatus
-
Nested classes/interfaces inherited from class net.sf.eBus.messages.EMessage
EMessage.MessageType
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
appName
The application name.java.lang.String
hostName
Application is running on this named host.PersistentStatusMessage[]
statuses
Persistent status for all currently registered monitor objects.-
Fields inherited from class net.sf.eBus.messages.EReplyMessage
replyReason, replyStatus
-
Fields inherited from class net.sf.eBus.messages.EMessage
MAX_SUBJECT_LENGTH, subject, timestamp
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MonitoredObjectReply.Builder
builder()
Returns a new instance of aMonitoredObjectReply
message builder.-
Methods inherited from class net.sf.eBus.messages.EReplyMessage
equals, hashCode, isFinal, toString
-
Methods inherited from class net.sf.eBus.messages.EMessage
isApplicationMessage, isSystemMessage, key, messageType, timestampAsInstant
-
-
-
-
Field Detail
-
hostName
public final java.lang.String hostName
Application is running on this named host. Note: this name does not necessarily need to be a network host name but should be a name meaningful to both the monitored system and those monitoring it.
-
appName
public final java.lang.String appName
The application name.
-
statuses
public final PersistentStatusMessage[] statuses
Persistent status for all currently registered monitor objects.
-
-
Method Detail
-
builder
public static MonitoredObjectReply.Builder builder()
Returns a new instance of aMonitoredObjectReply
message builder.- Returns:
- new message builder instance.
-
-