|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--ostore.client.OSResult
|
+--ostore.client.OSCreateObjectResult
The OSCreateObjectResult reports the outcome of an
OSCreateObjectRequest. The ClientStage
constructs an OSCreateObjectResult by translating
OceanStore's internal result.
OSCreateObjectRequest| Field Summary | |
|---|---|
static byte |
REASON_DUP_GUID
|
static byte |
REASON_SUCCESS
|
static byte |
REASON_TIMEOUT
|
| Fields inherited from class ostore.client.OSResult |
|---|
app_id |
| Constructor Summary | |
|---|---|
OSCreateObjectResult(InputBuffer buffer)
|
|
| Method Summary | |
|---|---|
SecureHash |
getAguid()
Returns the Aguid of the new data object. |
SecureHash |
getIRGuid()
Returns the guid that identifies the inner ring that is maintaining the new data object. |
byte |
getReason()
Returns a non-success reason code is getSuccess() is false. |
boolean |
getSuccess()
Returns true if the object was successfully
created; returns false otherwise. |
SecureHash |
getVguid()
Returns the Vguid of the first version of the new data object. |
SecureHash |
getVhash()
Returns the Vhash of the first version of the new data object. |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer. |
String |
toString()
|
| Methods inherited from class ostore.client.OSResult |
|---|
getAppId, getReqSeqNum, getUserTag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final byte REASON_SUCCESS
public static final byte REASON_DUP_GUID
public static final byte REASON_TIMEOUT
| Constructor Detail |
public OSCreateObjectResult(InputBuffer buffer)
throws QSException
| Method Detail |
public void serialize(OutputBuffer buffer)
QuickSerializablebuffer.
serialize in interface QuickSerializableserialize in class OSResultbuffer - the output buffer to add the object topublic boolean getSuccess()
true if the object was successfully
created; returns false otherwise.
true if the object was successfully
created; returns false otherwise.public byte getReason()
false.
false.public SecureHash getAguid()
public SecureHash getVguid()
public SecureHash getVhash()
public SecureHash getIRGuid()
public String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||