tapestry.impl.test
Class TapestryLocateMsgChannel

java.lang.Object
  |
  +--tapestry.api.TapestryLocateMsg
        |
        +--tapestry.impl.test.TapestryLocateMsgChannel
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class TapestryLocateMsgChannel
extends TapestryLocateMsg
implements QuickSerializable

Messages sent from one OceanStore machine to any other. To send a message from one OceanStore machine to any other, one simply inherits from this class, filling in the proper serialization code for the inherited class's data. (The Tapestry stage will take care of the fields in this class itself.)

Implementation-wise, this is simply a route-to-root operation.


Field Summary
 
Fields inherited from class tapestry.api.TapestryLocateMsg
guid, hopCount, id, inbound, local_opts, peer, qos, query, query_state, TTL
 
Constructor Summary
TapestryLocateMsgChannel()
          Empty constructor.
TapestryLocateMsgChannel(InputBuffer buffer)
           
TapestryLocateMsgChannel(SecureHash guid, TapestryQuery query, TapestryQueryState query_state)
           
TapestryLocateMsgChannel(SecureHash guid, TapestryQuery query, TapestryQueryState query_state, SecureHash id)
           
TapestryLocateMsgChannel(SecureHash guid, TapestryQuery query, TapestryQueryState query_state, SecureHash id, int qos)
           
 
Method Summary
 void serialize(OutputBuffer buffer)
           
 String toString()
           
 
Methods inherited from class tapestry.api.TapestryLocateMsg
setLocalOptLocalMisroute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TapestryLocateMsgChannel

public TapestryLocateMsgChannel(SecureHash guid,
                                TapestryQuery query,
                                TapestryQueryState query_state)

TapestryLocateMsgChannel

public TapestryLocateMsgChannel(SecureHash guid,
                                TapestryQuery query,
                                TapestryQueryState query_state,
                                SecureHash id)

TapestryLocateMsgChannel

public TapestryLocateMsgChannel(SecureHash guid,
                                TapestryQuery query,
                                TapestryQueryState query_state,
                                SecureHash id,
                                int qos)

TapestryLocateMsgChannel

public TapestryLocateMsgChannel()
Empty constructor. For use by derived types when reconstructing themselves from a byte array.


TapestryLocateMsgChannel

public TapestryLocateMsgChannel(InputBuffer buffer)
                         throws QSException
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Specified by:
serialize in interface QuickSerializable

toString

public String toString()
Overrides:
toString in class Object