All LDAP Classes
Internal LDAP Classes

com.novell.ldap
Class Message.Timeout

java.lang.Object
  extended by java.lang.Thread
      extended by com.novell.ldap.Message.Timeout
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
Message

private final class Message.Timeout
extends java.lang.Thread

Timer class to provide timing for messages. Only called if time to wait is non zero.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  Message message
           
private  int timeToWait
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Message.Timeout(int interval, Message msg)
           
 
Method Summary
 void run()
          The timeout thread.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

timeToWait

private int timeToWait

message

private Message message
Constructor Detail

Message.Timeout

Message.Timeout(int interval,
                Message msg)
Method Detail

run

public final void run()
The timeout thread. If it wakes from the sleep, future input is stopped and the request is timed out.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

All LDAP Classes
Internal LDAP Classes

Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000