|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.client.OSRequest
The OSRequest
is the abstract super class for all
OceanStore API requests. It provides a unique sequence number
for each request. The outcome of the request will be returned to
the application in the form of an OSResult
which
will contain the sequence number of the originating request.
OSResult
Field Summary | |
---|---|
OSAppId |
app_id
|
Constructor Summary | |
---|---|
OSRequest(InputBuffer buffer)
|
Method Summary | |
---|---|
Object |
clone()
Clone this request. |
OSAppId |
getAppId()
Returns the OSAppId that identifies the
requesting application. |
long |
getDispatchTime()
Returns the time (as recorded by System.currentTimeMillis()) that this request was dispatched from the ClientStage . |
Long |
getSeqNum()
Returns the sequence number of the request. |
QuickSerializable |
getUserTag()
Returns the user tag. |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer . |
void |
setUserTag(QuickSerializable user_tag)
Sets the user tag. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public OSAppId app_id
Constructor Detail |
public OSRequest(InputBuffer buffer) throws QSException
Method Detail |
public void serialize(OutputBuffer buffer)
QuickSerializable
buffer
.
serialize
in interface QuickSerializable
buffer
- the output buffer to add the object topublic void setUserTag(QuickSerializable user_tag)
OSResult
.
public QuickSerializable getUserTag()
OSResult
.
public OSAppId getAppId()
OSAppId
that identifies the
requesting application.
OSAppId
to identify the requesting
applicationpublic Long getSeqNum()
public long getDispatchTime()
ClientStage
.
public Object clone()
clone
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |