TimerThread.TimerRequest (jTDS API)
Keywords: net.sourceforge.jtds.util.TimerThread.TimerRequest class

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

## net.sourceforge.jtds.util
Class TimerThread.TimerRequest

    java.lang.Object
      net.sourceforge.jtds.util.TimerThread.TimerRequest

Enclosing class:
  TimerThread

private static class TimerThread.TimerRequest
extends java.lang.Object

Internal class associating a login or query timeout value with a target `TimerListener`.

Field Summary
`(package private) TimerThread.TimerListener` | `target` Target to notify when the timeout expires.
`(package private) long` | `time` The time when this timeout will expire.

Constructor Summary
`(package private)` | `TimerThread.TimerRequest(int timeout, TimerThread.TimerListener target)` Create a `TimerRequest`.

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

Field Detail

### time

    final long time

  The time when this timeout will expire.

### target

    final TimerThread.TimerListener target

  Target to notify when the timeout expires.

Constructor Detail

### TimerThread.TimerRequest

    TimerThread.TimerRequest(int timeout,
                             TimerThread.TimerListener target)

  Create a `TimerRequest`.

Parameters:
  `timeout` - the desired timeout in milliseconds
  `target` - the target object; one of `SharedSocket` or `TdsCore`
Throws:
  `java.lang.IllegalArgumentException` - if the timeout is negative or 0

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

Generated on December 30 2009