ostore.archive.dissemination
Class RequestDisseminationSetMsg

java.lang.Object
  |
  +--dd.api.DDLocateMsg
        |
        +--ostore.archive.dissemination.RequestDisseminationSetMsg
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class RequestDisseminationSetMsg
extends DDLocateMsg

RequestDisseminationSetMsg is used to request that a SetCreator send a dissemination set.

USAGE

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

Version:
$Id: RequestDisseminationSetMsg.java,v 1.15 2004/05/13 20:13:06 hweather Exp $
Author:
Hakim Weatherspoon
See Also:
SetCreatorStage, RequestDisseminationSetQuery, RequestDisseminationSetResponseMsg, DDLocateMsg

Field Summary
 
Fields inherited from class dd.api.DDLocateMsg
forward, guid, hopCount, id, inbound, INTERMEDIATE_NONE, INTERMEDIATE_PTRS_CACHE_ONLY, INTERMEDIATE_PTRS_DISK, INTERMEDIATE_STRING, INTERMEDIATE_UPCALL_ONLY, intermediate_upcall_policy, one_hop, peer, query, query_state, recursive_route, TTL, vc, VC_NONE, vc_policy, VC_ROOT, VC_SRC, VC_STRING, VC_SUPPLIED
 
Constructor Summary
RequestDisseminationSetMsg(InputBuffer buffer)
          Constructs a RequestDisseminationSetMsg from its serialized form.
RequestDisseminationSetMsg(SecureHash guid, SecureHash identifier, DisseminationSetPredicate pred, boolean forward, boolean recursive_route, boolean one_hop, byte intermediate_upcall_policy, byte vc_policy, bamboo.vivaldi.VirtualCoordinate vc)
          Construct according to the given fields.
 
Method Summary
 SecureHash getIdentifier()
          getIdentifier returns the identifier.
 DisseminationSetPredicate getPredicate()
          getPredicate returns the DisseminationSetPredicate.
 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

RequestDisseminationSetMsg

public RequestDisseminationSetMsg(SecureHash guid,
                                  SecureHash identifier,
                                  DisseminationSetPredicate pred,
                                  boolean forward,
                                  boolean recursive_route,
                                  boolean one_hop,
                                  byte intermediate_upcall_policy,
                                  byte vc_policy,
                                  bamboo.vivaldi.VirtualCoordinate vc)
Construct according to the given fields.


RequestDisseminationSetMsg

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

Parameters:
buffer - serialized form of object.
Method Detail

getIdentifier

public final SecureHash getIdentifier()
getIdentifier returns the identifier.

Returns:
the identifier.

getPredicate

public final DisseminationSetPredicate getPredicate()
getPredicate returns the DisseminationSetPredicate.

Returns:
DisseminationSetPredicate.

serialize

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

Parameters:
buffer - the output buffer to add the object to

toString

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

Overrides:
toString in class Object