ostore.agree
Class CommitMsg

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

public class CommitMsg
extends DDMacRouteMsg


Field Summary
 SecureHash req_digest
           
 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
CommitMsg(InputBuffer buffer)
           
CommitMsg(SecureHash dest, SecureHash ring_id, SecureHash req_digest, QSDate timestamp, long view, long seq, boolean recursive, boolean dd_intermediate_upcall, boolean one_hop)
           
 
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

ring_id

public SecureHash ring_id

req_digest

public SecureHash req_digest

timestamp

public QSDate timestamp

view

public long view

seq

public long seq
Constructor Detail

CommitMsg

public CommitMsg(SecureHash dest,
                 SecureHash ring_id,
                 SecureHash req_digest,
                 QSDate timestamp,
                 long view,
                 long seq,
                 boolean recursive,
                 boolean dd_intermediate_upcall,
                 boolean one_hop)

CommitMsg

public CommitMsg(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
Overrides:
serialize in class DDRouteMsg
Parameters:
buffer - the output buffer to add the object to

toString

public String toString()
Overrides:
toString in class Object