Package com.caplin.datasource.interfaces
Interface DSNoData
- All Superinterfaces:
DSPacket
,DSSerializable
Deprecated.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Deprecated.Instruction to delete this objectstatic final int
Deprecated.Indicates that the object is not found.static final int
Deprecated.Indicates that there is no permission to read this object.static final int
Deprecated.Indicates that the object is unavailable at the current timestatic final int
Deprecated.Indicates that there is no permission to write to this object -
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
-
F_NOTFOUND
static final int F_NOTFOUNDDeprecated.Indicates that the object is not found.- See Also:
-
F_READDENY
static final int F_READDENYDeprecated.Indicates that there is no permission to read this object.- See Also:
-
F_WRITEDENY
static final int F_WRITEDENYDeprecated.Indicates that there is no permission to write to this object- See Also:
-
F_DELETEOBJECT
static final int F_DELETEOBJECTDeprecated.Instruction to delete this object- See Also:
-
F_UNAVAILABLE
static final int F_UNAVAILABLEDeprecated.Indicates that the object is unavailable at the current time- See Also:
-
-
Method Details
-
getSubject
String getSubject()Deprecated.Gets this object's subject.
- Returns:
- The subject name.
-
SubjectErrorEvent
This class can be used to send a 'NoData' message to a DataSource peer that signals that an object has not been found and the reason why. This is most likely to occur when an active DataSource need to indicate, having received a request, that data is not available.
Should a request come in for which there is no data then a NoData message should be sent. The flags (
F_NOTFOUND
,F_READDENY
,F_WRITEDENY
,F_DELETEOBJECT
,F_UNAVAILABLE
) that may be sent are mutually exclusive.