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(ByteString responseValue)
Decodes the provided ASN.1 octet string to extract the connection ID.
|
static 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
public GetConnectionIDExtendedOperation()
initializeExtendedOperationHandler
method.public void initializeExtendedOperationHandler(GetConnectionIdExtendedOperationHandlerCfg config) throws ConfigException, InitializationException
ExtendedOperationHandler
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)
ExtendedOperationHandler
processExtendedOperation
in class ExtendedOperationHandler<GetConnectionIdExtendedOperationHandlerCfg>
operation
- The extended operation to be processed.public static ByteString encodeResponseValue(long connectionID)
connectionID
- The connection ID to be encoded.public static long decodeResponseValue(ByteString responseValue)
responseValue
- The response value to be decoded.public String getExtendedOperationOID()
ExtendedOperationHandler
getExtendedOperationOID
in class ExtendedOperationHandler<GetConnectionIdExtendedOperationHandlerCfg>
null
if there is none.public String getExtendedOperationName()
ExtendedOperationHandler
getExtendedOperationName
in class ExtendedOperationHandler<GetConnectionIdExtendedOperationHandlerCfg>
null
if there is none.Copyright 2010-2022 ForgeRock AS.