|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tapestry.api.TapestryPrefixRouteMsg
Messages sent from one OceanStore machine to some other, hopefully with
a node GUID that closely matches the given one. The desired GUID to be
matched is placed in peer
when ! inbound
. Because
the recipient of this message is unknown to the sender, it cannot be
MAC'ed.
Implementation-wise, this is simply a route-to-root operation which
is received by the node closest to the (likely non-existent) root. If
the root exists, it is equivalent to a TapestryRouteMsg
with
mac == false
.
Field Summary | |
---|---|
int |
hopCount
Number of hops taken by the message on its way to the application |
boolean |
inbound
Whether this message is being received ( true ) or sent
(false ). |
SecureHash |
peer
If inbound , the sender; if ! |
int |
qos
The delivery qos of this msg, added by Ling Huang |
int |
TTL
Number of hops this message should take before delivering payload. |
Constructor Summary | |
---|---|
TapestryPrefixRouteMsg()
Empty constructor. |
|
TapestryPrefixRouteMsg(SecureHash peer,
boolean inbound)
Construct according to the given fields. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ostore.util.QuickSerializable |
---|
serialize |
Field Detail |
public SecureHash peer
inbound
, the sender; if ! inbound
the
GUID to try and match.
public boolean inbound
true
) or sent
(false
).
public int hopCount
public int TTL
public int qos
Constructor Detail |
public TapestryPrefixRouteMsg(SecureHash peer, boolean inbound)
public TapestryPrefixRouteMsg()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |