|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dd.api.DDRouteMsg | +--dd.api.DDMacRouteMsg | +--ostore.archive.dissemination.TypeResponseMsg
TypeResponseMsg
is a MAC'd (Message Authentication
Certificate) response msg specifying a nodes is willingness
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
TypeRequestMsg
s 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
,
TypeRequestMsg
,
TypeResponseMsg
,
Disseminatable
,
TypeRequestMsg
,
DDMacRouteMsg
Field Summary | |
---|---|
QuickSerializable |
type
type is the type of machine (e.g. domain, location, administration, etc) as a response to the original type request. |
Fields inherited from class dd.api.DDRouteMsg |
---|
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL |
Constructor Summary | |
---|---|
TypeResponseMsg(InputBuffer buffer)
Constructs a TypeResponseMsg from its
serialized form. |
|
TypeResponseMsg(SecureHash requestorGuid,
QuickSerializable typeAck,
boolean recursive_route,
boolean dd_intermediate_upcall,
boolean one_hop)
Construct according to the given fields. |
Method Summary | |
---|---|
QuickSerializable |
getType()
getType returns the type to 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 QuickSerializable type
Constructor Detail |
public TypeResponseMsg(SecureHash requestorGuid, QuickSerializable typeAck, boolean recursive_route, boolean dd_intermediate_upcall, boolean one_hop)
public TypeResponseMsg(InputBuffer buffer) throws QSException
TypeResponseMsg
from its
serialized
form.
buffer
- serialized
form of object.Method Detail |
public final QuickSerializable getType()
public void serialize(OutputBuffer buffer)
serialize
in interface QuickSerializable
serialize
in class DDRouteMsg
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 |