public class GetConnectionIDExtendedOperation extends ExtendedOperationHandler<org.forgerock.opendj.server.config.server.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(org.forgerock.opendj.server.config.server.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, supportsFeature
public GetConnectionIDExtendedOperation()
initializeExtendedOperationHandler
method.public void initializeExtendedOperationHandler(org.forgerock.opendj.server.config.server.GetConnectionIdExtendedOperationHandlerCfg config) throws org.forgerock.opendj.config.server.ConfigException, InitializationException
ExtendedOperationHandler
initializeExtendedOperationHandler
in class ExtendedOperationHandler<org.forgerock.opendj.server.config.server.GetConnectionIdExtendedOperationHandlerCfg>
config
- The extended operation handler configuration that
contains the information to use to initialize
this extended operation handler.org.forgerock.opendj.config.server.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)
ExtendedOperationHandler
processExtendedOperation
in class ExtendedOperationHandler<org.forgerock.opendj.server.config.server.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()
ExtendedOperationHandler
getExtendedOperationOID
in class ExtendedOperationHandler<org.forgerock.opendj.server.config.server.GetConnectionIdExtendedOperationHandlerCfg>
null
if there is none.public String getExtendedOperationName()
ExtendedOperationHandler
getExtendedOperationName
in class ExtendedOperationHandler<org.forgerock.opendj.server.config.server.GetConnectionIdExtendedOperationHandlerCfg>
null
if there is none.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.