net.sourceforge.jtds.util

Class 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

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

Field Details

target

(package private) final TimerThread.TimerListener target
Target to notify when the timeout expires.

time

(package private) final long time
The time when this timeout will expire.

Constructor Details

TimerRequest

(package private)  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

Generated on September 18 2009