ostore.archive.dissemination
Class RequestDisseminationSetResponseMsg

java.lang.Object
  |
  +--dd.api.DDRouteMsg
        |
        +--dd.api.DDMacRouteMsg
              |
              +--ostore.archive.dissemination.RequestDisseminationSetResponseMsg
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class RequestDisseminationSetResponseMsg
extends DDMacRouteMsg

RequestDisseminationSetResponseMsg is the SetCreators response a RequestDisseminationSetMsg and containing a set of send a dissemination sets.

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: RequestDisseminationSetResponseMsg.java,v 1.14 2004/05/13 20:13:06 hweather Exp $
Author:
Hakim Weatherspoon
See Also:
SetCreatorStage, RequestDisseminationSetMsg, RequestDisseminationSetQuery, DDLocateMsg

Field Summary
 Set disseminationSets
           
 
Fields inherited from class dd.api.DDRouteMsg
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL
 
Constructor Summary
RequestDisseminationSetResponseMsg(InputBuffer buffer)
          Constructs a RequestDisseminationSetResponseMsg from its serialized form.
RequestDisseminationSetResponseMsg(SecureHash requestorGuid, Set sets, SecureHash identifier, boolean recursive_route, boolean dd_intermediate_upcall, boolean one_hop)
          Construct according to the given fields.
 
Method Summary
 Set getDisseminationSets()
          getDisseminationSets returns the dissemination sets.
 SecureHash getIdentifier()
          getIdentifier returns the identifier.
 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
 

Field Detail

disseminationSets

public Set disseminationSets
Constructor Detail

RequestDisseminationSetResponseMsg

public RequestDisseminationSetResponseMsg(SecureHash requestorGuid,
                                          Set sets,
                                          SecureHash identifier,
                                          boolean recursive_route,
                                          boolean dd_intermediate_upcall,
                                          boolean one_hop)
Construct according to the given fields.


RequestDisseminationSetResponseMsg

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

Parameters:
buffer - serialized form of object.
Method Detail

getIdentifier

public final SecureHash getIdentifier()
getIdentifier returns the identifier.

Returns:
the identifier.

getDisseminationSets

public final Set getDisseminationSets()
getDisseminationSets returns the dissemination sets.

Returns:
the dissemination sets.

serialize

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

Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class DDRouteMsg
Parameters:
buffer - the output buffer to add the object to

toString

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

Overrides:
toString in class Object