com.novell.ldap.events.edir
Class MonitorEventResponse
java.lang.Object
com.novell.ldap.LDAPMessage
com.novell.ldap.LDAPResponse
com.novell.ldap.LDAPExtendedResponse
com.novell.ldap.events.edir.MonitorEventResponse
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- public class MonitorEventResponse
- extends LDAPExtendedResponse
This object represents the ExtendedResponse returned when Event
Registeration fails. This Extended Response structure is generated for
requests send as MonitorEventRequest or MonitorFilterEventRequest.
The MonitorEventResponse uses the following OID:
2.16.840.1.113719.1.27.100.80
The responseValue has the following format:
responseValue ::=
SEQUENCE {
eventCount INTEGER,
events SET OF {
eventSpecifier
}
}
eventSpecifier ::= SEQUENCE {
eventType INTEGER,
eventStatus ENUMERATED {
AllEvents (0),
SuccessfulEvents (1),
FailedEvents (2)}
}
The ExtendedResponse receives a result code. Possible values are :-
LDAP_OPERATIONS_ERROR - indicates that an error occurred
on the server while trying to perform the operation. The errorMessage
may give an indication of the error.
LDAP_PROTOCOL_ERROR - an invalid event type or status was
specified in the request. The invalid invents will be contained in the
badEvents array.
LDAP_ADMINLIMIT_EXCEEDED - the maximum number of active
Monitor Events are already active on this server.
LDAP_INSUFFICIENT_ACCESS - the bound object associated
with the connection does not have rights to perform a Monitor Events
request. LDAP_UNAVAILABLE - although the extension is
generally supported by the server, the event service is not currently
available.
- See Also:
- Serialized Form
Fields inherited from class com.novell.ldap.LDAPMessage |
ABANDON_REQUEST, ADD_REQUEST, ADD_RESPONSE, BIND_REQUEST, BIND_RESPONSE, COMPARE_REQUEST, COMPARE_RESPONSE, DEL_REQUEST, DEL_RESPONSE, EXTENDED_REQUEST, EXTENDED_RESPONSE, INTERMEDIATE_RESPONSE, message, MODIFY_RDN_REQUEST, MODIFY_RDN_RESPONSE, MODIFY_REQUEST, MODIFY_RESPONSE, SEARCH_REQUEST, SEARCH_RESPONSE, SEARCH_RESULT, SEARCH_RESULT_REFERENCE, UNBIND_REQUEST |
Constructor Summary |
MonitorEventResponse(com.novell.ldap.rfc2251.RfcLDAPMessage message)
Default Constructor for MonitorEventResponse, called by
ExtResponseFactory Object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MonitorEventResponse
public MonitorEventResponse(com.novell.ldap.rfc2251.RfcLDAPMessage message)
throws LDAPException
- Default Constructor for MonitorEventResponse, called by
ExtResponseFactory Object.
- Parameters:
message
- The RFCLDAPMessage to parse.
- Throws:
LDAPException
- When decoding of the message fails.
getSpecifierList
public EdirEventSpecifier[] getSpecifierList()
- Gets the List of EdirEventSpecifiers which generated this error.
- Returns:
- Array of EdirEventSpecifier.
Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000