ostore.inner
Class UpdateReject

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

public class UpdateReject
extends Object
implements QuickSerializable


Field Summary
 byte reason
           
static byte REASON_BAD_SIG
           
static byte REASON_DUPLICATE
           
static byte REASON_NO_2PC
           
static byte REASON_NO_PERMISSION
           
static byte REASON_NOT_IR
           
static byte REASON_OLD_TIMESTAMP
           
static byte REASON_OTHER
           
static String[] reason_to_string
           
static byte REASON_UNKNOWN_SIG
           
 SecureHash req_digest
           
 QSDate timestamp
           
 
Constructor Summary
UpdateReject(InputBuffer buffer)
           
UpdateReject(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_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_NO_2PC

public static final byte REASON_NO_2PC
See Also:
Constant Field Values

REASON_NOT_IR

public static final byte REASON_NOT_IR
See Also:
Constant Field Values

REASON_OTHER

public static final byte REASON_OTHER
See Also:
Constant Field Values

reason_to_string

public static final String[] reason_to_string

req_digest

public SecureHash req_digest

reason

public byte reason

timestamp

public QSDate timestamp
Constructor Detail

UpdateReject

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

UpdateReject

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