|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.ldap.sdk.unboundidds.extensions.StreamProxyValuesBackendSet
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class StreamProxyValuesBackendSet
NOTE: This class is part of the Commercial Edition of the UnboundID LDAP SDK for Java. It is not available for use in applications that include only the Standard Edition of the LDAP SDK, and is not supported for use in conjunction with non-UnboundID products.This class provides a data structure for holding information about the configuration of backend sets as used by the stream proxy values extended request.
Constructor Summary | |
---|---|
StreamProxyValuesBackendSet(ASN1OctetString backendSetID,
java.lang.String[] hosts,
int[] ports)
Creates a new backend set with the provided information. |
Method Summary | |
---|---|
static StreamProxyValuesBackendSet |
decode(ASN1Element element)
Decodes the provided ASN.1 element as a backend set. |
ASN1Element |
encode()
Encodes this backend set object in a form suitable for inclusion in the value of the stream proxy values extended request. |
ASN1OctetString |
getBackendSetID()
Retrieves the backend set ID for this backend set. |
java.lang.String[] |
getHosts()
Retrieves the addresses of the servers for this backend set. |
int[] |
getPorts()
Retrieves the ports of the servers for this backend set. |
java.lang.String |
toString()
Retrieves a string representation of this stream proxy values backend set. |
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this stream proxy values backend set to the provided buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StreamProxyValuesBackendSet(ASN1OctetString backendSetID, java.lang.String[] hosts, int[] ports)
backendSetID
- The backend set ID for this backend set. It must not
be null
.hosts
- The addresses of the servers for this backend set.
It must not be null
or empty, and it must
have the same number of elements as the ports
array.ports
- The ports of the servers for this backend set. It
must not be null
or empty, and it must have
the same number of elements as the hosts
array.Method Detail |
---|
public ASN1OctetString getBackendSetID()
public java.lang.String[] getHosts()
public int[] getPorts()
public ASN1Element encode()
public static StreamProxyValuesBackendSet decode(ASN1Element element) throws LDAPException
element
- The element to be decoded as a backend set.
LDAPException
- If the provided ASN.1 element cannot be decoded as
a backend set.public java.lang.String toString()
toString
in class java.lang.Object
public void toString(java.lang.StringBuilder buffer)
buffer
- The buffer to which the stream representation should be
appended.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |