org.mpisws.p2p.transport.peerreview
Interface PeerReviewCallback<Handle,Identifier>
- All Superinterfaces:
- Destructable, IdentityTransportCallback<Handle,Identifier>, TransportLayerCallback<Handle,java.nio.ByteBuffer>
public interface PeerReviewCallback<Handle,Identifier>
- extends Destructable, IdentityTransportCallback<Handle,Identifier>
Callback interface that all PeerReview-enabled applications must implement.
During normal operation, PeerReview uses this interface to checkpoint the
application, and to inquire about the witness set of another node.
init
void init()
storeCheckpoint
void storeCheckpoint(OutputBuffer buffer)
loadCheckpoint
boolean loadCheckpoint(InputBuffer buffer)
Copyright © 2001-2005 - Rice Pastry.