|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.api.ExtendedOperationHandler<GetConnectionIdExtendedOperationHandlerCfg>
org.opends.server.extensions.GetConnectionIDExtendedOperation
public class GetConnectionIDExtendedOperation
This class implements the "Get Connection ID" extended operation that can be used to get the connection ID of the associated client connection.
Constructor Summary | |
---|---|
GetConnectionIDExtendedOperation()
Create an instance of this "Get Connection ID" extended operation. |
Method Summary | |
---|---|
static long |
decodeResponseValue(ASN1OctetString responseValue)
Decodes the provided ASN.1 octet string to extract the connection ID. |
static ASN1OctetString |
encodeResponseValue(long connectionID)
Encodes the provided connection ID in an octet string suitable for use as the value for this extended operation. |
void |
finalizeExtendedOperationHandler()
Performs any finalization that may be necessary for this extended operation handler. |
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. |
Methods inherited from class org.opends.server.api.ExtendedOperationHandler |
---|
deregisterControlsAndFeatures, getSupportedControls, getSupportedFeatures, isConfigurationAcceptable, registerControlsAndFeatures, supportsControl, supportsFeature |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetConnectionIDExtendedOperation()
initializeExtendedOperationHandler
method.
Method Detail |
---|
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 finalizeExtendedOperationHandler()
finalizeExtendedOperationHandler
in class ExtendedOperationHandler<GetConnectionIdExtendedOperationHandlerCfg>
public void processExtendedOperation(ExtendedOperation operation)
processExtendedOperation
in class ExtendedOperationHandler<GetConnectionIdExtendedOperationHandlerCfg>
operation
- The extended operation to be processed.public static ASN1OctetString encodeResponseValue(long connectionID)
connectionID
- The connection ID to be encoded.
public static long decodeResponseValue(ASN1OctetString responseValue) throws ASN1Exception
responseValue
- The response value to be decoded.
ASN1Exception
- If an error occurs while trying to decode the
response value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |