ostore.replica
Class ReplicaUpdateReq

java.lang.Object
  |
  +--ostore.replica.ReplicaReq
        |
        +--ostore.replica.ReplicaUpdateReq
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class ReplicaUpdateReq
extends ReplicaReq

Events sent from the ClientStage to the ReplicaStage containing an update request for the inner ring.

Version:
$Id: ReplicaUpdateReq.java,v 1.10 2002/07/29 18:48:54 geels Exp $
Author:
Dennis Geels

Field Summary
 
Fields inherited from class ostore.replica.ReplicaReq
digest, local, target
 
Constructor Summary
ReplicaUpdateReq(InputBuffer buffer)
          Constructs a ReplicaUpdateReq from its serialized form.
ReplicaUpdateReq(SecureHash target, SignedQS signed_update)
          Constructs a new ReplicaUpdateReq.
 
Method Summary
 SignedQS get_update()
          Returns the signed Update request from the client.
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 
Methods inherited from class ostore.replica.ReplicaReq
get_digest, get_seq_num, get_target, hashCode, is_local, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReplicaUpdateReq

public ReplicaUpdateReq(SecureHash target,
                        SignedQS signed_update)
Constructs a new ReplicaUpdateReq.


ReplicaUpdateReq

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

Method Detail

get_update

public SignedQS get_update()
Returns the signed Update request from the client.


serialize

public void serialize(OutputBuffer buffer)
Description copied from interface: QuickSerializable
Add the object to the buffer.

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