Rice Pastry API

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,v 1.8 2005/03/11 00:58:12 jeffh Exp $
Author:
amislove

Method Summary
 void pingResponse(SourceRoute path, long RTT, long timeHeardFrom)
          Method which is called once a previously-issued ping is responded to.
 

Method Detail

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 ping
RTT - The round-trip-time along the path
timeHeardFrom - The time at which the response was received.

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection