rice.pastry.socket
Interface PingResponseListener
- All Known Implementing Classes:
- SocketCollectionManager.DeadChecker
- public interface PingResponseListener
Interface which represents an object interested in hearing the result of a
ping. The pingResponse() method will be called only if and when a ping is
heard back from.
- Version:
- $Id: PingResponseListener.java 2972 2006-01-30 15:31:20Z jeffh $
- Author:
- amislove
Method Summary |
void |
pingResponse(SourceRoute path,
long RTT,
long timeHeardFrom)
Method which is called once a previously-issued ping is responded to. |
pingResponse
public void pingResponse(SourceRoute path,
long RTT,
long timeHeardFrom)
- Method which is called once a previously-issued ping is responded to.
- Parameters:
path
- The path of the pingRTT
- The round-trip-time along the pathtimeHeardFrom
- The time at which the response was received.
Copyright © 2001-2005 - Rice Pastry.