|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Identifier - public interface PingListener<Identifier>
Called when a ping is received.
| Method Summary | |
|---|---|
void |
pingReceived(Identifier i,
java.util.Map<java.lang.String,java.lang.Integer> options)
Called when we receive a ping (not a pong) |
void |
pingResponse(Identifier i,
int rtt,
java.util.Map<java.lang.String,java.lang.Integer> options)
Pong received. |
| Method Detail |
|---|
void pingResponse(Identifier i,
int rtt,
java.util.Map<java.lang.String,java.lang.Integer> options)
i - Where the ping was fromrtt - the RTToptions - how the ping was sent (source route/udp etc)
void pingReceived(Identifier i,
java.util.Map<java.lang.String,java.lang.Integer> options)
i - options -
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||