ostore.inner
Class TimedHeartbeatRejectMsg

java.lang.Object
  |
  +--ostore.inner.TimedHeartbeatRejectMsg
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class TimedHeartbeatRejectMsg
extends Object
implements QueueElementIF, QuickSerializable

Indicate that the desired timed heartbeat request cannot be fufilled. N.B.: this is only a hint. As far as you know, it could come from anyone. This weirdness is because the main reason for rejecting a timed heartbeat request is that we don't currently have an appropriate heartbeat, and we don't want to generate a signature in order to get one (since that would require an expensive Byzantine agreement). Likewise, generating a verifiable response would also require an agreement. Thus this message is just a hint. If you want a definite response, use a LatestHeartbeatReqMsg. That's what it's there for.


Field Summary
 SecureHash aguid
           
 QSDate min_date
           
 boolean need_vguid
           
 
Constructor Summary
TimedHeartbeatRejectMsg(InputBuffer buffer)
           
TimedHeartbeatRejectMsg(TimedHeartbeatReqMsg req)
           
 
Method Summary
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aguid

public SecureHash aguid

min_date

public QSDate min_date

need_vguid

public boolean need_vguid
Constructor Detail

TimedHeartbeatRejectMsg

public TimedHeartbeatRejectMsg(TimedHeartbeatReqMsg req)

TimedHeartbeatRejectMsg

public TimedHeartbeatRejectMsg(InputBuffer buffer)
                        throws QSException
Method Detail

serialize

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

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