org.mpisws.p2p.transport.liveness
Interface Pinger<Identifier>
- All Known Subinterfaces:
- LivenessTransportLayer<Identifier,MsgType>
- All Known Implementing Classes:
- AggressiveLivenessTransportLayerImpl, LivenessTransportLayerImpl
public interface Pinger<Identifier>
ping
boolean ping(Identifier i,
java.util.Map<java.lang.String,java.lang.Object> options)
- Parameters:
i
- the identifier that respondedoptions
- transport layer dependent way to send the ping (udp/tcp etc)
- Returns:
- true If the ping will occur. (Maybe it won't due to bandwidth concerns.)
addPingListener
void addPingListener(PingListener<Identifier> name)
removePingListener
boolean removePingListener(PingListener<Identifier> name)
Copyright © 2001-2005 - Rice Pastry.