All LDAP Classes
Internal LDAP Classes

com.novell.ldap
Class Connection.UnsolicitedListenerThread

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

private class Connection.UnsolicitedListenerThread
extends java.lang.Thread

Inner class defined so that we can spawn off each unsolicited listener as a seperate thread. We did not want to call the unsolicited listener method directly as this would have tied up our deamon listener thread in the applications unsolicited listener method. Since we do not know what the application unsolicited listener might be doing and how long it will take to process the uncoslicited notification. We use this class to spawn off the unsolicited notification as a separate thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  LDAPUnsolicitedNotificationListener listenerObj
           
private  LDAPExtendedResponse unsolicitedMsg
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Connection.UnsolicitedListenerThread(LDAPUnsolicitedNotificationListener l, LDAPExtendedResponse m)
           
 
Method Summary
 void run()
           
 
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

listenerObj

private LDAPUnsolicitedNotificationListener listenerObj

unsolicitedMsg

private LDAPExtendedResponse unsolicitedMsg
Constructor Detail

Connection.UnsolicitedListenerThread

Connection.UnsolicitedListenerThread(LDAPUnsolicitedNotificationListener l,
                                     LDAPExtendedResponse m)
Method Detail

run

public final void run()
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