TimerThread.TimerRequest (jTDS API)
Date: 2013-06-08

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

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `(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

    Constructors
    Constructor and Description
    `TimerThread.TimerRequest(int timeout, TimerThread.TimerListener target)` Create a `TimerRequest`.

  - ### Method Summary

    - ### 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

Generated on June 8 2013