| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--ostore.archive.events.QueryResp
QueryResp is an event class that responds to a 
 QueryReq.
 
 The required field are
 a_guid (requested A-GUID),
 v_guid (resulting V-GUID),
 timestamp (time version was committed),
 version (version committed).
 
QueryReq| Field Summary | |
|---|---|
 SecureHash | 
a_guid
a_guid == requested Archived GUID.  | 
 long | 
timestamp
version == version commited.  | 
 SecureHash | 
v_guid
v_guid == resulting Version GUID.  | 
 long | 
version
timestamp == time version was commited.  | 
| Constructor Summary | |
|---|---|
QueryResp()
Constructor: Initializes instance variables to null.  | 
|
QueryResp(InputBuffer buffer)
Constructs a QueryResp from its
 serialized form. | 
|
| Method Summary | |
|---|---|
 void | 
serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable  | 
 String | 
toString()
Specified by java.lang.Object  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
public SecureHash a_guid
public SecureHash v_guid
public long version
public long timestamp
| Constructor Detail | 
public QueryResp()
public QueryResp(InputBuffer buffer)
          throws QSException
QueryResp from its
 serialized form.
buffer - serialized
                form of object.| Method Detail | 
public void serialize(OutputBuffer buffer)
serialize in interface QuickSerializablebuffer - the output buffer to add the object topublic String toString()
toString in class Object
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||