ostore.replica
Class ClientSignatureReq

java.lang.Object
  |
  +--ostore.replica.ClientSignatureReq
All Implemented Interfaces:
QueueElementIF

public class ClientSignatureReq
extends Object
implements QueueElementIF

A request sent from the ReplicaStage to the ClientStage, requesting that the latter sign and dispatch a message on behalf of a client.

No explicit response is required. The ReplicaStage can watch for the requested message itself.

Currently this message is used only to request a LatestHeartbeatReqMsg be sent to the inner ring. If/when others are added, we'll have to generalize the code somewhat.

Version:
$Id: ClientSignatureReq.java,v 1.4 2002/07/22 20:54:53 srhea Exp $
Author:
Dennis Geels

Constructor Summary
ClientSignatureReq(SecureHash guid, QSDate timestamp, SecureHash req_digest)
          Constructs a ClientSignatureReq for a LatestHeartbeatReqMsg.
 
Method Summary
 SecureHash get_guid()
          Returns the AGUID for which we need the heartbeat.
 SecureHash get_req_digest()
          Returns the digest of the original ReplicaReq which triggered this request.
 QSDate get_timestamp()
          Returns the earliest acceptable heartbeat timestamp.
 String toString()
          Returns a human-readable representation of this ClientSignatureReq.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientSignatureReq

public ClientSignatureReq(SecureHash guid,
                          QSDate timestamp,
                          SecureHash req_digest)
Constructs a ClientSignatureReq for a LatestHeartbeatReqMsg.

Method Detail

get_guid

public SecureHash get_guid()
Returns the AGUID for which we need the heartbeat.


get_timestamp

public QSDate get_timestamp()
Returns the earliest acceptable heartbeat timestamp.


get_req_digest

public SecureHash get_req_digest()
Returns the digest of the original ReplicaReq which triggered this request.


toString

public String toString()
Returns a human-readable representation of this ClientSignatureReq.

Overrides:
toString in class Object