tapestry.dissemination
Class RequestDisseminationSetQuery

java.lang.Object
  |
  +--tapestry.dissemination.RequestDisseminationSetQuery
All Implemented Interfaces:
QuickSerializable, TapestryQuery

public class RequestDisseminationSetQuery
extends Object
implements TapestryQuery, QuickSerializable

RequestDisseminationSetQuery is a TapestryQuery used in a RequestDisseminationSetMsg TapestryLocateMsg used to find a SetCreator that will respond with a set of dissemination sets.

USAGE

To receive a dissemination set, dispatch a RequestDisseminationSetMsg that contains a RequestDisseminationSetQuery. When the SetCreator receives the message, it will respond with a RequestDisseminationSetResponseMsg containing a set of dissemination sets.

Version:
$Id: RequestDisseminationSetQuery.java,v 1.1.1.1 2004/03/26 19:57:11 hweather Exp $
Author:
Hakim Weatherspoon
See Also:
SetCreatorStage, RequestDisseminationSetMsg, RequestDisseminationSetResponseMsg, TapestryLocateMsg

Constructor Summary
RequestDisseminationSetQuery()
          Creates a new RequestDisseminationSetQuery.
RequestDisseminationSetQuery(InputBuffer buffer)
          Constructs a RequestDisseminationSetQuery 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

RequestDisseminationSetQuery

public RequestDisseminationSetQuery()
Creates a new RequestDisseminationSetQuery.


RequestDisseminationSetQuery

public RequestDisseminationSetQuery(InputBuffer buffer)
                             throws QSException
Constructs a RequestDisseminationSetQuery 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