Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rice.pastry.socket
Class SocketCollectionManager.DeadChecker

    java.lang.Object
      rice.selector.TimerTask
          rice.pastry.socket.SocketCollectionManager.DeadChecker

All Implemented Interfaces:
  CancellableTask, java.lang.Comparable, PingResponseListener

Enclosing class:
  SocketCollectionManager

protected class SocketCollectionManager.DeadChecker
extends TimerTask
implements PingResponseListener

DESCRIBE THE CLASS

Version:
  $Id: SocketCollectionManager.java,v 1.39 2005/03/15 21:52:44 jeffh Exp $
Author:
  jeffh

Field Summary
`protected int` | `numTries` DESCRIBE THE FIELD
`protected SourceRoute` | `path` DESCRIBE THE FIELD
`protected int` | `tries` DESCRIBE THE FIELD

Constructor Summary
`SocketCollectionManager.DeadChecker(SourceRoute path, int numTries)` Constructor for DeadChecker.

Method Summary
`void` | `pingResponse(SourceRoute path, long RTT, long timeHeardFrom)` DESCRIBE THE METHOD
`void` | `run()` Main processing method for the DeadChecker object

Methods inherited from class rice.selector.TimerTask
`cancel, compareTo, isCancelled, scheduledExecutionTime`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### tries

    protected int tries

  DESCRIBE THE FIELD

### numTries

    protected int numTries

  DESCRIBE THE FIELD

### path

    protected SourceRoute path

  DESCRIBE THE FIELD

Constructor Detail

### SocketCollectionManager.DeadChecker

    public SocketCollectionManager.DeadChecker(SourceRoute path,
                                               int numTries)

  Constructor for DeadChecker.

Parameters:
  `numTries` - DESCRIBE THE PARAMETER
  `path` - DESCRIBE THE PARAMETER

Method Detail

### pingResponse

    public void pingResponse(SourceRoute path,
                             long RTT,
                             long timeHeardFrom)

  DESCRIBE THE METHOD

  Specified by:
    `pingResponse` in interface `PingResponseListener`
  Parameters:
    `RTT` - DESCRIBE THE PARAMETER
    `timeHeardFrom` - DESCRIBE THE PARAMETER
    `path` - DESCRIBE THE PARAMETER

### run

    public void run()

  Main processing method for the DeadChecker object

  Specified by:
    `run` in interface `CancellableTask`
  Specified by:
    `run` in class `TimerTask`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.