ostore.agree
Class PreprepareMsg

java.lang.Object
  |
  +--dd.api.DDRouteMsg
        |
        +--dd.api.DDMacRouteMsg
              |
              +--ostore.agree.PreprepareMsg
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class PreprepareMsg
extends DDMacRouteMsg


Field Summary
 QSArray req_digests
           
 SecureHash ring_id
           
 long seq
           
 QSDate timestamp
           
 long view
           
 
Fields inherited from class dd.api.DDRouteMsg
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL
 
Constructor Summary
PreprepareMsg(InputBuffer buffer)
           
PreprepareMsg(SecureHash dest, SecureHash ring_id, QSArray req_digests, QSDate timestamp, long view, long seq, boolean recursive, boolean dd_intermediate_upcall, boolean one_hop)
           
 
Method Summary
 SecureHash overall_digest()
           
static SecureHash overall_digest(QSArray req_digests)
           
 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

ring_id

public SecureHash ring_id

req_digests

public QSArray req_digests

timestamp

public QSDate timestamp

view

public long view

seq

public long seq
Constructor Detail

PreprepareMsg

public PreprepareMsg(SecureHash dest,
                     SecureHash ring_id,
                     QSArray req_digests,
                     QSDate timestamp,
                     long view,
                     long seq,
                     boolean recursive,
                     boolean dd_intermediate_upcall,
                     boolean one_hop)

PreprepareMsg

public PreprepareMsg(InputBuffer buffer)
              throws QSException
Method Detail

overall_digest

public SecureHash overall_digest()

overall_digest

public static SecureHash overall_digest(QSArray req_digests)

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 DDRouteMsg
Parameters:
buffer - the output buffer to add the object to

toString

public String toString()
Overrides:
toString in class Object