|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.client.OSRequest | +--ostore.client.OSRead
The OSRead
object is a request for reading objects....
Field Summary |
---|
Fields inherited from class ostore.client.OSRequest |
---|
app_id |
Constructor Summary | |
---|---|
OSRead(InputBuffer buffer)
|
|
OSRead(OSAppId app_id,
SecureHash target,
OSVersionPredicate ver_pred,
Selection selection)
Creates a new OSRead request. |
|
OSRead(OSAppId app_id,
SecureHash principal,
QSPrivateKey principal_skey,
SecureHash target,
OSVersionPredicate ver_pred,
Selection selection)
Creates a new OSRead request. |
Method Summary | |
---|---|
SecureHash |
getAguid()
|
SecureHash |
getPrincipal()
Return the hash of the principal that created the read request. |
Selection |
getSelection()
|
SecureHash |
getTarget()
|
OSVersionPredicate |
getVersionPredicate()
|
void |
serialize(OutputBuffer buffer)
Add the object to the buffer . |
void |
setOnNodeFlag()
NOT FOR GENERAL USE |
String |
toString()
|
Methods inherited from class ostore.client.OSRequest |
---|
clone, getAppId, getDispatchTime, getSeqNum, getUserTag, setUserTag |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OSRead(OSAppId app_id, SecureHash target, OSVersionPredicate ver_pred, Selection selection)
OSRead
request.
app_id
- the OSAppId
to identify the requesting
applicationtarget
- the aguid of the object from which to readver_pred
- the version predicate to specify version constraintsselection
- the selection representing the data to be read from the objectpublic OSRead(OSAppId app_id, SecureHash principal, QSPrivateKey principal_skey, SecureHash target, OSVersionPredicate ver_pred, Selection selection)
OSRead
request.
app_id
- the OSAppId
to identify the requesting
applicationprincipal
- the secure hash of the principal's public keyprincipal_skey
- the principal's private keytarget
- the aguid of the object from which to readver_pred
- the version predicate to specify version constraintsselection
- the selection representing the data to be read from the objectpublic OSRead(InputBuffer buffer) throws QSException
Method Detail |
public void serialize(OutputBuffer buffer)
QuickSerializable
buffer
.
serialize
in interface QuickSerializable
serialize
in class OSRequest
buffer
- the output buffer to add the object topublic SecureHash getPrincipal()
public SecureHash getAguid()
public SecureHash getTarget()
public Selection getSelection()
public OSVersionPredicate getVersionPredicate()
public void setOnNodeFlag()
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |