ostore.inner
Class LatestHeartbeatReject

java.lang.Object
  |
  +--ostore.inner.LatestHeartbeatReject
All Implemented Interfaces:
QuickSerializable

public class LatestHeartbeatReject
extends Object
implements QuickSerializable


Field Summary
 byte reason
           
static byte REASON_BAD_SIG
           
static byte REASON_DUPLICATE
           
static byte REASON_NO_PERMISSION
           
static byte REASON_NOT_IR
           
static byte REASON_OLD_TIMESTAMP
           
static byte REASON_OTHER
           
static byte REASON_UNKNOWN_SIG
           
static String[] reasons
           
 SecureHash req_digest
           
 QSDate timestamp
           
 
Constructor Summary
LatestHeartbeatReject(InputBuffer buffer)
           
LatestHeartbeatReject(SecureHash req_digest, byte reason, QSDate ts)
           
 
Method Summary
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REASON_NO_PERMISSION

public static final byte REASON_NO_PERMISSION
See Also:
Constant Field Values

REASON_OLD_TIMESTAMP

public static final byte REASON_OLD_TIMESTAMP
See Also:
Constant Field Values

REASON_DUPLICATE

public static final byte REASON_DUPLICATE
See Also:
Constant Field Values

REASON_NOT_IR

public static final byte REASON_NOT_IR
See Also:
Constant Field Values

REASON_UNKNOWN_SIG

public static final byte REASON_UNKNOWN_SIG
See Also:
Constant Field Values

REASON_BAD_SIG

public static final byte REASON_BAD_SIG
See Also:
Constant Field Values

REASON_OTHER

public static final byte REASON_OTHER
See Also:
Constant Field Values

reasons

public static final String[] reasons

req_digest

public SecureHash req_digest

reason

public byte reason

timestamp

public QSDate timestamp
Constructor Detail

LatestHeartbeatReject

public LatestHeartbeatReject(SecureHash req_digest,
                             byte reason,
                             QSDate ts)

LatestHeartbeatReject

public LatestHeartbeatReject(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

toString

public String toString()
Overrides:
toString in class Object