|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread com.novell.ldap.events.LDAPEventSource.EventsGenerator
This inner Thread is used to notify the Registered Listener when an LDAPResponse occurs.
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
LDAPEventSource.EventsGenerator(LDAPEventSource aeventsource,
LDAPMessageQueue queue,
LDAPEventListener listener,
LDAPConnection aconnection,
int amessageid)
Default Constructor for EventGenerator. |
Method Summary | |
protected void |
processmessage(LDAPMessage response)
Processes the Message Receive on the queue. |
void |
run()
Waits for the Messages on the Queue and notifies the Listener of the same. |
void |
stopEventGeneration()
Stop the Persistence Search Events Generation by abandoning the Search Request. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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 |
Constructor Detail |
public LDAPEventSource.EventsGenerator(LDAPEventSource aeventsource, LDAPMessageQueue queue, LDAPEventListener listener, LDAPConnection aconnection, int amessageid)
aeventsource
- The Source Object which is required for
LDAPEvents generation.queue
- LDAPSearchqueue which contains the LDAPResponse
objects.listener
- LDAPEventListener which needs to be notified of
the events.aconnection
- LDAPConnection used to create this
searchqueue.amessageid
- LDAPMessage Id for the message send. events.Method Detail |
public final void run()
Runnable.run()
protected void processmessage(LDAPMessage response)
response
- public final void stopEventGeneration() throws LDAPException
LDAPException
- When Cancelling of LDAPConnection Fails.
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |