org.mpisws.p2p.transport.peerreview.evidence
Class ProofInconsistent
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
auth1
public Authenticator auth1
auth2
public Authenticator auth2
snippet
public LogSnippet snippet
ProofInconsistent
public ProofInconsistent(Authenticator auth1,
Authenticator auth2)
ProofInconsistent
public ProofInconsistent(InputBuffer buf,
AuthenticatorSerializer serializer,
int hashSize)
throws java.io.IOException
- Throws:
java.io.IOException
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
Copyright © 2001-2005 - Rice Pastry.