tapestry.impl.test
Class RepairDHTTest.Query

java.lang.Object
  |
  +--tapestry.impl.test.RepairDHTTest.Query
All Implemented Interfaces:
QuickSerializable, TapestryQuery
Enclosing class:
RepairDHTTest

public static class RepairDHTTest.Query
extends Object
implements TapestryQuery

Query is a TapestryQuery used in a TapestryLocateMsg of type LocateMsg to locate generic objects.


Constructor Summary
RepairDHTTest.Query()
          Creates a new Query.
RepairDHTTest.Query(InputBuffer buffer)
          Constructs a Query from its serialized form.
 
Method Summary
 TapestryQueryResult query(SecureHash node_guid, SecureHash bp_guid, TapestryTag tag, TapestryQueryState state)
          Perform the query on the given backpointer and tag, possibly modifying the supplied state.
 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

RepairDHTTest.Query

public RepairDHTTest.Query()
Creates a new Query.


RepairDHTTest.Query

public RepairDHTTest.Query(InputBuffer buffer)
                    throws QSException
Constructs a Query from its serialized form.

Parameters:
buffer - serialized form of object.
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable

Specified by:
serialize in interface QuickSerializable

query

public TapestryQueryResult query(SecureHash node_guid,
                                 SecureHash bp_guid,
                                 TapestryTag tag,
                                 TapestryQueryState state)
Description copied from interface: TapestryQuery
Perform the query on the given backpointer and tag, possibly modifying the supplied state.

Specified by:
query in interface TapestryQuery
Parameters:
node_guid - the guid of the current node
bp_guid - the guid of the node to which the backpointer points
tag - the associated tag
state - the state, passed in and (possibly) modified
Returns:
the query result

toString

public String toString()
Specified by java.lang.Object

Overrides:
toString in class Object