org.mpisws.p2p.transport.peerreview.commitment
Interface CommitmentProtocol<Handle extends RawSerializable,Identifier>
- All Known Implementing Classes:
- CommitmentProtocolImpl
public interface CommitmentProtocol<Handle extends RawSerializable,Identifier>
This protocol attaches signatures to outgoing messages and acknowledges
incoming messages. It also has transmit and receive queues where messages can
be held while acknowledgments are pending, and it can retransmit messages a
few times when an acknowledgment is not received.
handleOutgoingMessage
MessageRequestHandle<Handle,java.nio.ByteBuffer> handleOutgoingMessage(Handle target,
java.nio.ByteBuffer message,
MessageCallback<Handle,java.nio.ByteBuffer> deliverAckToMe,
java.util.Map<java.lang.String,java.lang.Object> options)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2001-2005 - Rice Pastry.