|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dd.api.DDRouteMsg | +--ostore.apps.test.TapestryHowto.Ping
One of two DD messages used in this test. I inherit from DDRouteMsg because I'm talking to a specific other node in OceanStore. If I wanted to talk to any node holding an object with GUID g, I would use a DDLocateMsg instead. Other interesting DD message types are:
Refer to the DD javadocs for more details about any of the above.
Since this class inherits from DDRouteMsg, it indirectly inherits from QuickSerializable and QuickSerializable, meaning that we have to define three main functions:
See below for details.
Field Summary | |
---|---|
int |
seq
|
Fields inherited from class dd.api.DDRouteMsg |
---|
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL |
Constructor Summary | |
---|---|
TapestryHowto.Ping(InputBuffer buffer)
A deserialization constructor. |
|
TapestryHowto.Ping(SecureHash dest,
int seq,
boolean recursive,
boolean dd_intermediate_upcall,
boolean one_hop)
A constructor for messages I'm going to send to someone else. |
Method Summary | |
---|---|
void |
serialize(OutputBuffer buffer)
A serialization function. |
String |
toString()
It's always nice for debugging to define one of these. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int seq
Constructor Detail |
public TapestryHowto.Ping(SecureHash dest, int seq, boolean recursive, boolean dd_intermediate_upcall, boolean one_hop)
public TapestryHowto.Ping(InputBuffer buffer)
Method Detail |
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 |