| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  |
  +--dd.api.DDRouteMsg
        |
        +--ostore.archive.RequestFragResponseMsg
RequestFragResponseMsg is the
 StorageServers response to a
 RequestFragMsg and containing either a Fragment or
 the block itself.
 
 To receive Fragments, dispatch a 
 RequestFragMsg that contains a guid
 of the block to be recoalesced.
 
ArchivalStorageStage, 
RequestorStage, 
RecoalesceBlkStage, 
RequestFragMsg, 
RequestFragQuery, 
RequestFragQueryState, 
DDLocateMsg| Field Summary | |
|---|---|
 QuickSerializable | 
response
 | 
 SecureHash | 
responseGuid
 | 
| Fields inherited from class dd.api.DDRouteMsg | 
|---|
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL | 
| Constructor Summary | |
|---|---|
RequestFragResponseMsg(InputBuffer buffer)
Constructs a RequestFragResponseMsg from its
 serialized form. | 
|
RequestFragResponseMsg(SecureHash requestorGuid,
                       SecureHash respGuid,
                       QuickSerializable resp,
                       boolean recursive,
                       boolean dd_intermediate_upcall,
                       boolean one_hop)
Construct according to the given fields.  | 
|
| Method Summary | |
|---|---|
 QuickSerializable | 
getResponse()
getResponse returns the response to the RequestFragMsg.  | 
 SecureHash | 
getResponseGuid()
getResponseGuid returns the guid of the originally requested obj specified in the RequestFragMsg.  | 
 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 responseGuid
public QuickSerializable response
| Constructor Detail | 
public RequestFragResponseMsg(SecureHash requestorGuid,
                              SecureHash respGuid,
                              QuickSerializable resp,
                              boolean recursive,
                              boolean dd_intermediate_upcall,
                              boolean one_hop)
public RequestFragResponseMsg(InputBuffer buffer)
                       throws QSException
RequestFragResponseMsg from its
 serialized form.
buffer - serialized
                form of object.| Method Detail | 
public final QuickSerializable getResponse()
public final SecureHash getResponseGuid()
public void serialize(OutputBuffer buffer)
serialize in interface QuickSerializableserialize in class DDRouteMsgbuffer - 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 | ||||||||||