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
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 nodebp_guid
- the guid of the node to which the backpointer pointstag
- the associated tagstate
- the state, passed in and (possibly) modified
- Returns:
- the query result