Interface DSStatus
- All Superinterfaces:
DSPacket
,DSSerializable
Sends a user-defined status message about a particular object. The S_INFO, S_STALE, S_REMOVE and S_NOTSTALE flags are mutually exclusive.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
This is an information only status message.static final int
This indicates that the subject should be discarded.static final int
This indicates that an object is no longer stale and is receiving updates.static final int
This indicates there is a serious problem with object and it should be removed from the client watchlists.static final int
This indicates that the object may not be receiving updates any more.static final int
This indicates an update to this object should clear the previously sent S_STALE or S_NOTSTALE message. -
Method Summary
Methods inherited from interface com.caplin.datasource.interfaces.DSPacket
send, sendDirect, sendToPeer
Methods inherited from interface com.caplin.datasource.interfaces.DSSerializable
toBytes
-
Field Details
-
S_INFO
static final int S_INFOThis is an information only status message.- See Also:
-
S_STALE
static final int S_STALEThis indicates that the object may not be receiving updates any more.
- See Also:
-
S_REMOVE
static final int S_REMOVEThis indicates there is a serious problem with object and it should be removed from the client watchlists.
- See Also:
-
S_NOTSTALE
static final int S_NOTSTALEThis indicates that an object is no longer stale and is receiving updates.
- See Also:
-
S_NOTMAPPED
static final int S_NOTMAPPEDThis indicates that the subject should be discarded.
- See Also:
-
S_UPDCLR
static final int S_UPDCLRThis indicates an update to this object should clear the previously sent S_STALE or S_NOTSTALE message. The S_UPDCLR flag should be sent at the same time as the S_STALE or S_NOTSTALE message.
- See Also:
-
-
Method Details
-
getSubject
String getSubject()Gets this object's subject.
- Returns:
- The subject name.
-
getFlags
int getFlags()Gets the flags for this status message.
- Returns:
- The flags of this status message.
-
getCode
int getCode()Gets the code for this status message.
- Returns:
- the code.
-
getMessage
String getMessage()Gets the message for this status message.
- Returns:
- the message.
-