|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netscape.jndi.ldap.EventService
class EventService
Event Service monitors changes on the server Implemented with the persistent search control. Uses ldapjdk asynchronous interfaces so that multiple search requests can be processed by a single thread
| Field Summary | |
|---|---|
(package private) java.util.Vector |
m_eventList
|
(package private) LdapService |
m_ldapSvc
|
(package private) java.lang.Thread |
m_monitorThread
|
(package private) LDAPSearchListener |
m_msgQueue
|
| Constructor Summary | |
|---|---|
EventService(LdapService ldapSvc)
Constructor |
|
| Method Summary | |
|---|---|
(package private) void |
addListener(LdapContextImpl ctx,
java.lang.String name,
java.lang.String filter,
javax.naming.directory.SearchControls jndiCtrls,
javax.naming.event.NamingListener l)
Add change event listener |
(package private) void |
removeListener(javax.naming.event.NamingListener listener)
Remove change event listener |
void |
run()
Main monitor thread loop. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
LdapService m_ldapSvc
java.util.Vector m_eventList
java.lang.Thread m_monitorThread
LDAPSearchListener m_msgQueue
| Constructor Detail |
|---|
public EventService(LdapService ldapSvc)
| Method Detail |
|---|
void addListener(LdapContextImpl ctx,
java.lang.String name,
java.lang.String filter,
javax.naming.directory.SearchControls jndiCtrls,
javax.naming.event.NamingListener l)
throws javax.naming.NamingException
javax.naming.NamingException
void removeListener(javax.naming.event.NamingListener listener)
throws javax.naming.NamingException
javax.naming.NamingExceptionpublic void run()
run in interface java.lang.Runnable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||