public interface DSStatus extends DSPacket
Sends a user-defined status message about a particular object. The S_INFO, S_STALE, S_REMOVE and S_NOTSTALE flags are mutually exclusive.
Modifier and Type | Field and Description |
---|---|
static int |
S_INFO
This is an information only status message.
|
static int |
S_NOTMAPPED
This indicates that the subject should be discarded.
|
static int |
S_NOTSTALE
This indicates that an object is no longer stale and is receiving updates.
|
static int |
S_REMOVE
This indicates there is a serious problem with object and it should be removed from the client watchlists.
|
static int |
S_STALE
This indicates that the object may not be receiving updates any more.
|
static int |
S_UPDCLR
This indicates an update to this object should clear the previously sent S_STALE or S_NOTSTALE message.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Gets the code for this status message.
|
int |
getFlags()
Gets the flags for this status message.
|
java.lang.String |
getMessage()
Gets the message for this status message.
|
java.lang.String |
getSubject()
Gets this object's subject.
|
send, sendDirect, sendToPeer
toBytes
static final int S_INFO
static final int S_STALE
This indicates that the object may not be receiving updates any more.
static final int S_REMOVE
This indicates there is a serious problem with object and it should be removed from the client watchlists.
static final int S_NOTSTALE
This indicates that an object is no longer stale and is receiving updates.
static final int S_NOTMAPPED
This indicates that the subject should be discarded.
static final int S_UPDCLR
This 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.
java.lang.String getSubject()
Gets this object's subject.
int getFlags()
Gets the flags for this status message.
int getCode()
Gets the code for this status message.
java.lang.String getMessage()
Gets the message for this status message.
Please send bug reports and comments to Caplin support