ostore.archive.events
Class DisseminateFragsResp

java.lang.Object
  |
  +--ostore.archive.events.DisseminateFragsResp
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class DisseminateFragsResp
extends Object
implements QueueElementIF, QuickSerializable

DisseminateFragsResp is an event class that responds to a DisseminateFragsReq with the V-GUID of the version disseminated.

USAGE

The required field is a variable of type SecureHash that is the V-GUID of the version disseminated.

Version:
$Id: DisseminateFragsResp.java,v 1.15 2002/07/22 20:54:52 srhea Exp $
Author:
Hakim Weatherspoon
See Also:
DisseminateFragsReq, DisseminatorStage, SecureHash

Field Summary
 SecureHash guid
          guid == GUID of the version disseminated.
 
Constructor Summary
DisseminateFragsResp()
          Constructor: Initializes instance variables to null.
DisseminateFragsResp(InputBuffer buffer)
          Constructs a DisseminateFragsResp from its serialized form.
DisseminateFragsResp(SecureHash g)
          Constructor: Initializes instance variables to null.
 
Method Summary
 void serialize(OutputBuffer buffer)
          Specified by ostore.util.Serializable
 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

guid

public SecureHash guid
guid == GUID of the version disseminated.

Constructor Detail

DisseminateFragsResp

public DisseminateFragsResp()
Constructor: Initializes instance variables to null.


DisseminateFragsResp

public DisseminateFragsResp(SecureHash g)
Constructor: Initializes instance variables to null.

Parameters:
g - = guid of fragments disseminated.

DisseminateFragsResp

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

Parameters:
buffer - serialized form of object.
Method Detail

serialize

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

Specified by:
serialize in interface 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