LDAP Classes
Implements Java LDAP

com.novell.ldap.events.edir
Class MonitorFilterEventRequest

java.lang.Object
  extended bycom.novell.ldap.LDAPExtendedOperation
      extended bycom.novell.ldap.events.edir.MonitorFilterEventRequest
All Implemented Interfaces:
java.lang.Cloneable, java.io.Externalizable, java.io.Serializable

public class MonitorFilterEventRequest
extends LDAPExtendedOperation

This class is used for registering for Edirectory events while also specifying an filterString for event Filtering. This request encodes an eventType ,eventStatus and filterString which are send to the Edirectory Server. The class extracts the above values from EdirEventSpecifier class. The filterString is used to filter the events, the filter syntax is same as that of ldap search filter. The operation defined by this class is just an extension of the simple event registration as provided by MonitorEventRequest. This class extendes it by adding an filterString.

The MonitorFilterEventRequest uses the following OID:
   2.16.840.1.113719.1.27.100.84

The responseValue has the following format:
requestValue ::=
  SEQUENCE {
    eventCount INTEGER,
    events SET OF {FilteredEventSpecifier },
  }
FilteredEventSpecifier ::=
  SEQUENCE {
      eventType INTEGER,
      eventStatus ENUMERATED
       {
        AllEvents (0),
        SuccessfulEvents (1),
         FailedEvents (2)
       }
      eventFilter OPTIONAL FilterString
  }

See Also:
EdirEventSpecifier, MonitorEventRequest, Serialized Form

Constructor Summary
MonitorFilterEventRequest(EdirEventSpecifier[] specifiers)
          Default Constructor for the Monitor Filter Event Request Used to Send a Monitor Filter Event Request to LDAPServer.
 
Methods inherited from class com.novell.ldap.LDAPExtendedOperation
clone, getID, getValue, readDSML, readExternal, setID, setValue, toString, writeDSML, writeExternal
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MonitorFilterEventRequest

public MonitorFilterEventRequest(EdirEventSpecifier[] specifiers)
                          throws LDAPException
Default Constructor for the Monitor Filter Event Request Used to Send a Monitor Filter Event Request to LDAPServer.

Parameters:
specifiers - The list of EdirEventSpecifiers to send to server.
Throws:
LDAPException - When the data encoding fails.

LDAP Classes
Implements Java LDAP

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