com.novell.ldap.extensions
Class ListReplicasResponse
java.lang.Object
com.novell.ldap.LDAPMessage
com.novell.ldap.LDAPResponse
com.novell.ldap.LDAPExtendedResponse
com.novell.ldap.extensions.ListReplicasResponse
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- public class ListReplicasResponse
- extends LDAPExtendedResponse
Retrieves the list of replicas from the specified server.
An object in this class is generated from an ExtendedResponse object
using the ExtendedResponseFactory class.
The listReplicaResponse extension uses the following OID:
2.16.840.1.113719.1.27.20
- 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 |
ListReplicasResponse(com.novell.ldap.rfc2251.RfcLDAPMessage rfcMessage)
Constructs an object from the responseValue which contains the list
of replicas. |
Method Summary |
java.lang.String[] |
getReplicaList()
Returns a list of distinguished names for the replicas on the server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ListReplicasResponse
public ListReplicasResponse(com.novell.ldap.rfc2251.RfcLDAPMessage rfcMessage)
throws java.io.IOException
- Constructs an object from the responseValue which contains the list
of replicas.
The constructor parses the responseValue which has the following
format:
responseValue ::=
replicaList
SEQUENCE OF OCTET STRINGS
- Throws:
java.io.IOException
- The responseValue could not be decoded.
getReplicaList
public java.lang.String[] getReplicaList()
- Returns a list of distinguished names for the replicas on the server.
- Returns:
- String value specifying the identity returned by the server
Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000