public class GetConnectionIDExtendedOperation extends ExtendedOperationHandler<GetConnectionIdExtendedOperationHandlerCfg>
| Constructor and Description |
|---|
GetConnectionIDExtendedOperation()
Create an instance of this "Get Connection ID" extended operation.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
decodeResponseValue(org.forgerock.opendj.ldap.ByteString responseValue)
Decodes the provided ASN.1 octet string to extract the connection ID.
|
static org.forgerock.opendj.ldap.ByteString |
encodeResponseValue(long connectionID)
Encodes the provided connection ID in an octet string suitable for use as
the value for this extended operation.
|
String |
getExtendedOperationName()
Retrieves the name associated with this extended operation.
|
String |
getExtendedOperationOID()
Retrieves the object OID associated with this extended operation.
|
void |
initializeExtendedOperationHandler(GetConnectionIdExtendedOperationHandlerCfg config)
Initializes this extended operation handler based on the
information in the provided configuration entry.
|
void |
processExtendedOperation(ExtendedOperation operation)
Processes the provided extended operation.
|
finalizeExtendedOperationHandler, getSupportedControls, getSupportedFeatures, isConfigurationAcceptable, supportsControl, supportsFeaturepublic GetConnectionIDExtendedOperation()
initializeExtendedOperationHandler method.public void initializeExtendedOperationHandler(GetConnectionIdExtendedOperationHandlerCfg config) throws ConfigException, InitializationException
initializeExtendedOperationHandler in class ExtendedOperationHandler<GetConnectionIdExtendedOperationHandlerCfg>config - The extended operation handler configuration that
contains the information to use to initialize
this extended operation handler.ConfigException - If an unrecoverable problem arises in
the process of performing the
initialization.InitializationException - If a problem occurs
during initialization that is
not related to the server
configuration.public void processExtendedOperation(ExtendedOperation operation)
processExtendedOperation in class ExtendedOperationHandler<GetConnectionIdExtendedOperationHandlerCfg>operation - The extended operation to be processed.public static org.forgerock.opendj.ldap.ByteString encodeResponseValue(long connectionID)
connectionID - The connection ID to be encoded.public static long decodeResponseValue(org.forgerock.opendj.ldap.ByteString responseValue) throws org.forgerock.opendj.ldap.DecodeException
responseValue - The response value to be decoded.org.forgerock.opendj.ldap.DecodeException - If an error occurs while trying to decode the
response value.public String getExtendedOperationOID()
getExtendedOperationOID in class ExtendedOperationHandler<GetConnectionIdExtendedOperationHandlerCfg>null if there is none.public String getExtendedOperationName()
getExtendedOperationName in class ExtendedOperationHandler<GetConnectionIdExtendedOperationHandlerCfg>null if there is none.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.