ePOST 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 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.
 

Method Detail

pingResponse

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.

ePOST API

Copyright © 2001-2005 - Rice Pastry.