tapestry.api
Interface TapestryQuery

All Superinterfaces:
QuickSerializable
All Known Implementing Classes:
FilenameQuery, KeywordQuery, LastModifiedQuery, LoginQuery, NullTagQuery, RepairDHTTest.Query, RepairDirectoryTest.Query, RequestDisseminationSetQuery, SizeQuery, TapestryQueryChannel, TriggerTester.Query, TypeQuery

public interface TapestryQuery
extends QuickSerializable

The query that is passed along with a location request.

See Also:
TapestryLocateMsg

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.
 
Methods inherited from interface ostore.util.QuickSerializable
serialize
 

Method Detail

query

public 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.

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