Package com.netscape.jndi.ldap
Class EventService.EventEntry
java.lang.Object
com.netscape.jndi.ldap.EventService.EventEntry
- Enclosing class:
EventService
Inner class that represents a binding between a change event,
described with a set of search parameters, and a list of listeners
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) String[](package private) String(package private) LDAPSearchConstraints(package private) LdapContextImpl(package private) String(package private) int(package private) Vector<NamingListener> (package private) int -
Constructor Summary
ConstructorsConstructorDescriptionEventEntry(int id, LdapContextImpl ctx, String base, int scope, String filter, String[] attrs, LDAPSearchConstraints cons) Constructor -
Method Summary
Modifier and TypeMethodDescription(package private) voidAdd Listsner(package private) booleanisEmpty()Chech whether there are any listeners(package private) booleanisEqualEvent(String base, int scope, String filter, String[] attrs, LDAPSearchConstraints cons) Check whether this event paramaters are matched(package private) booleanRemove listenertoString()
-
Field Details
-
ctx
LdapContextImpl ctx -
base
String base -
filter
String filter -
attrs
String[] attrs -
scope
int scope -
cons
-
id
int id -
listeners
Vector<NamingListener> listeners
-
-
Constructor Details
-
EventEntry
EventEntry(int id, LdapContextImpl ctx, String base, int scope, String filter, String[] attrs, LDAPSearchConstraints cons) Constructor
-
-
Method Details
-
addListener
Add Listsner -
removeListener
Remove listener -
isEmpty
boolean isEmpty()Chech whether there are any listeners -
isEqualEvent
boolean isEqualEvent(String base, int scope, String filter, String[] attrs, LDAPSearchConstraints cons) Check whether this event paramaters are matched -
toString
-