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 3613 2007-02-15 14:45:14Z jstewart $
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.

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection