Rice Pastry API

org.mpisws.p2p.transport.peerreview.evidence
Class ProofInconsistent

java.lang.Object
  extended by org.mpisws.p2p.transport.peerreview.evidence.ProofInconsistent
All Implemented Interfaces:
Evidence, PeerReviewConstants

public class ProofInconsistent
extends java.lang.Object
implements PeerReviewConstants, Evidence

PROOF_INCONSISTENT byte type = PROOF_INCONSISTENT authenticator auth1 char whichInconsistency // 0=another auth, 1=a log snippet ----------------------- authenticator auth2 // if whichInconsistency==0 ----------------------- long long firstSeq // if whichInconsistency==1 hash baseHash [entries]

Author:
Jeff Hoye

Field Summary
static byte ANOTHER_AUTH
           
static byte LOG_SNIPPET
           
 
Constructor Summary
ProofInconsistent(Authenticator auth1, Authenticator auth2)
           
 
Method Summary
 short getEvidenceType()
           
 void serialize(OutputBuffer buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANOTHER_AUTH

public static final byte ANOTHER_AUTH
See Also:
Constant Field Values

LOG_SNIPPET

public static final byte LOG_SNIPPET
See Also:
Constant Field Values
Constructor Detail

ProofInconsistent

public ProofInconsistent(Authenticator auth1,
                         Authenticator auth2)
Method Detail

getEvidenceType

public short getEvidenceType()
Specified by:
getEvidenceType in interface Evidence

serialize

public void serialize(OutputBuffer buf)
               throws java.io.IOException
Specified by:
serialize in interface Evidence
Throws:
java.io.IOException

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.