|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--dd.api.DDPrefixRouteMsg
|
+--ostore.archive.dissemination.TypeRequestMsg
TypeRequestMsg is used too discover if a node is willing
to store Disseminatables.
To create dissemination sets the
SetCreator probes the system collecting
information about a sufficiently large set of
StorageServers.
The SetCreator relies on the properties of
dd to discover new
servers. dd routes
TypeRequestMsgs to the node that most
closely matches the requested destination. Thus, even though the
dd address space is
sparse, the SetCreator can use a scan of the
address space to reach a random set of
StorageServers.
StorageServers that are
willing to store Disseminatables
respond with a signed (i.e. MAC'd Message Authentication Certificate)
statement of their type contained in a TypeResponseMsg.
DisseminatorStage,
SetCreatorStage,
ArchivalStorageStage,
TypeResponseMsg,
Disseminatable,
DDPrefixRouteMsg| Field Summary |
|---|
| Fields inherited from class dd.api.DDPrefixRouteMsg |
|---|
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL |
| Constructor Summary | |
|---|---|
TypeRequestMsg(InputBuffer buffer)
Constructs a TypeRequestMsg from its
serialized form. |
|
TypeRequestMsg(SecureHash peer,
boolean recursive_route,
boolean dd_intermediate_upcall,
boolean one_hop)
Construct according to the given fields. |
|
| 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 |
| Constructor Detail |
public TypeRequestMsg(SecureHash peer,
boolean recursive_route,
boolean dd_intermediate_upcall,
boolean one_hop)
public TypeRequestMsg(InputBuffer buffer)
throws QSException
TypeRequestMsg from its
serialized form.
buffer - serialized
form of object.| Method Detail |
public void serialize(OutputBuffer buffer)
buffer - 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 | ||||||||||