Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mpisws.p2p.transport.liveness
Interface Pinger<Identifier>

All Known Subinterfaces:
  LivenessTransportLayer<Identifier,MsgType>

All Known Implementing Classes:
  AggressiveLivenessTransportLayerImpl, LivenessTransportLayerImpl

    public interface Pinger<Identifier>

Method Summary
`void` | `addPingListener(PingListener<Identifier> name)`
`boolean` | `ping(Identifier i, java.util.Map<java.lang.String,java.lang.Object> options)`
`boolean` | `removePingListener(PingListener<Identifier> name)`

Method Detail

### ping

    boolean ping(Identifier i,
                 java.util.Map<java.lang.String,java.lang.Object> options)

  Parameters:
    `i` - the identifier that responded
    `options` - 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.