org.mpisws.p2p.transport.peerreview.challenge
Interface ChallengeResponseProtocol<Handle extends RawSerializable,Identifier extends RawSerializable>

All Superinterfaces:
StatusChangeListener<Identifier>, StatusConstants
All Known Implementing Classes:
ChallengeResponseProtocolImpl

public interface ChallengeResponseProtocol<Handle extends RawSerializable,Identifier extends RawSerializable>
extends StatusChangeListener<Identifier>


Field Summary
 
Fields inherited from interface org.mpisws.p2p.transport.peerreview.StatusConstants
STATUS_EXPOSED, STATUS_SUSPECTED, STATUS_TRUSTED
 
Method Summary
 void challengeSuspectedNode(Handle handle)
           
 void handleChallenge(Handle source, ChallengeMessage<Identifier> challenge, Map<String,Object> options)
           
 void handleIncomingMessage(Handle source, UserDataMessage<Handle> udm, Map<String,Object> options)
           
 void handleStatement(Handle source, PeerReviewMessage m, Map<String,Object> options)
           
 
Methods inherited from interface org.mpisws.p2p.transport.peerreview.infostore.StatusChangeListener
notifyStatusChange
 

Method Detail

challengeSuspectedNode

void challengeSuspectedNode(Handle handle)

handleChallenge

void handleChallenge(Handle source,
                     ChallengeMessage<Identifier> challenge,
                     Map<String,Object> options)
                     throws IOException
Throws:
IOException

handleIncomingMessage

void handleIncomingMessage(Handle source,
                           UserDataMessage<Handle> udm,
                           Map<String,Object> options)
                           throws IOException
Throws:
IOException

handleStatement

void handleStatement(Handle source,
                     PeerReviewMessage m,
                     Map<String,Object> options)
                     throws IOException
Throws:
IOException


Copyright © 2010. All Rights Reserved.