LDAP Classes
Implements Java LDAP

com.novell.ldap.events.edir
Class MonitorEventRequest

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

public class MonitorEventRequest
extends LDAPExtendedOperation

This class is used for registering for Edirectory events. This request encodes an eventType and eventStatus, which are send to the Edirectory Server. The class extracts the above value from EdirEventSpecifier class.

The MonitorEventRequest uses the following OID:
   2.16.840.1.113719.1.27.100.79

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

See Also:
EdirEventSpecifier, Serialized Form

Constructor Summary
MonitorEventRequest(EdirEventSpecifier[] specifiers)
          Default Constructor for the Monitor Event Request Used to Send a Monitor 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

MonitorEventRequest

public MonitorEventRequest(EdirEventSpecifier[] specifiers)
                    throws LDAPException
Default Constructor for the Monitor Event Request Used to Send a Monitor 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