ostore.archive.events
Class DisseminateTombstoneReq

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

public class DisseminateTombstoneReq
extends Object
implements QueueElementIF, QuickSerializable

DisseminateTombstoneReq is an event class that requests a tombstone be created and disseminated.

USAGE

Disseminate a tombstone based on the disseminate), ring_members (total number of ring members). this_member (primary ring index/id. id's start at 0 .. n-1), rp (ResponsibleParty's Certificate), pr (Primary Ring's Certificate), encrypted_private_key (DeathCert -> (signed (RP_private_key, Encrypted (RP_public_key, (PR_private_key, PR_public_key))))), v_guid (Version GUID), version (Version Number), timestamp (TimeStamp).

NOTE: sender of this event should already know the GUID, since they passed it in as a parameter (active).

Version:
$Id: DisseminateTombstoneReq.java,v 1.13 2002/07/22 20:54:52 srhea Exp $
Author:
Hakim Weatherspoon

Field Summary
 SignedQS encryptedPrivateKey
          DeathCert = Signed (RP_private_key, Encrypted (RP_public_key, (PR_private_key, PR_public_key))) which is given to us by the RP at ring creation time
 PRCert pr
          pr == Primary Ring's Certificate.
 int ring_members
          ring_members == total number of ring members.
 RPCert rp
          rp == Responsible Party's Certificate.
 int this_member
          this_member == Primary Ring index/id.
 long timestamp
          timestamp == TimeStamp.
 SecureHash v_guid
          v_guid == Version GUID.
 long version
          version == Version Number.
 
Constructor Summary
DisseminateTombstoneReq()
          Constructor: Initializes instance variables to null.
DisseminateTombstoneReq(InputBuffer buffer)
          Constructs a DisseminateTombstoneReq from its serialized form.
 
Method Summary
 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

ring_members

public int ring_members
ring_members == total number of ring members.


this_member

public int this_member
this_member == Primary Ring index/id. id's start at 0 .. n-1.


rp

public RPCert rp
rp == Responsible Party's Certificate.


pr

public PRCert pr
pr == Primary Ring's Certificate.


encryptedPrivateKey

public SignedQS encryptedPrivateKey
DeathCert = Signed (RP_private_key, Encrypted (RP_public_key, (PR_private_key, PR_public_key))) which is given to us by the RP at ring creation time


v_guid

public SecureHash v_guid
v_guid == Version GUID.


version

public long version
version == Version Number.


timestamp

public long timestamp
timestamp == TimeStamp.

Constructor Detail

DisseminateTombstoneReq

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


DisseminateTombstoneReq

public DisseminateTombstoneReq(InputBuffer buffer)
                        throws QSException
Constructs a DisseminateTombstoneReq 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
Parameters:
buffer - the output buffer to add the object to

toString

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

Overrides:
toString in class Object