org.mpisws.p2p.transport.liveness
Interface LivenessStrategy<Identifier,MessageType>
public interface LivenessStrategy<Identifier,MessageType>
checkLiveness
void checkLiveness(Identifier i,
Continuation<Identifier,java.lang.Exception> c)
- Notify the continuation when the liveness check has completed.
- Parameters:
i
- c
-
getLiveness
int getLiveness(Identifier identity)
- Return the current liveness of the address.
- Parameters:
identity
-
- Returns:
messageReceived
void messageReceived(Identifier i,
MessageType m)
socketConnected
void socketConnected(Identifier i)
socketAccepted
void socketAccepted(Identifier i)
socketFailed
void socketFailed(Identifier i)
Copyright © 2001-2005 - Rice Pastry.