Class SampleRadiusAccountingExtension
java.lang.Object
oracle.communication.brm.charging.sdk.extensions.SampleRadiusAccountingExtension
- All Implemented Interfaces:
RadiusAccExtension
,oracle.communication.brm.charging.extensions.framework.ExtensionCallback<ExtensionContext>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handlePostOCS
(RadiusAccPostOCSExtensionContext extensionContext) Handles The Call to execute PostOCS extensionHookvoid
handlePreOCS
(RadiusAccPreOCSExtensionContext extensionContext) Handles The Call to execute PreOCS extensionHookvoid
handleRequestReceived
(RadiusAccPreProcessorExtensionContext extensionContext) Handles The Call to execute PreProcessor extensionHookvoid
initialize
(ExtensionContext extensionContext) method is invoked once at ECS Node startup time to allow integrators a spot to populate private data members that are required by the extension callback.void
shutdown
(ExtensionContext extensionContext) method is invoked once at ECS Node shutdown time to allow integrators a spot to release any resources that were acquired by the Extension.
-
Constructor Details
-
SampleRadiusAccountingExtension
public SampleRadiusAccountingExtension()
-
-
Method Details
-
initialize
Description copied from interface:oracle.communication.brm.charging.extensions.framework.ExtensionCallback
method is invoked once at ECS Node startup time to allow integrators a spot to populate private data members that are required by the extension callback.- Specified by:
initialize
in interfaceoracle.communication.brm.charging.extensions.framework.ExtensionCallback<ExtensionContext>
- Specified by:
initialize
in interfaceRadiusAccExtension
- Parameters:
extensionContext
- the context which exposes objects that are needed at initialization time.- Throws:
ExtensionException
- if a non-recoverable error occurs during initialization.
-
handleRequestReceived
public void handleRequestReceived(RadiusAccPreProcessorExtensionContext extensionContext) throws ExtensionException Description copied from interface:RadiusAccExtension
Handles The Call to execute PreProcessor extensionHook- Specified by:
handleRequestReceived
in interfaceRadiusAccExtension
- Parameters:
extensionContext
- is the context for PreProcessor extensionHook- Throws:
ExtensionException
-
handlePreOCS
public void handlePreOCS(RadiusAccPreOCSExtensionContext extensionContext) throws ExtensionException Description copied from interface:RadiusAccExtension
Handles The Call to execute PreOCS extensionHook- Specified by:
handlePreOCS
in interfaceRadiusAccExtension
- Parameters:
extensionContext
- is the context for PreOCS extensionHook- Throws:
ExtensionException
-
handlePostOCS
public void handlePostOCS(RadiusAccPostOCSExtensionContext extensionContext) throws ExtensionException Description copied from interface:RadiusAccExtension
Handles The Call to execute PostOCS extensionHook- Specified by:
handlePostOCS
in interfaceRadiusAccExtension
- Parameters:
extensionContext
- is the context for PostOCS extensionHook- Throws:
ExtensionException
-
shutdown
Description copied from interface:oracle.communication.brm.charging.extensions.framework.ExtensionCallback
method is invoked once at ECS Node shutdown time to allow integrators a spot to release any resources that were acquired by the Extension.- Specified by:
shutdown
in interfaceoracle.communication.brm.charging.extensions.framework.ExtensionCallback<ExtensionContext>
- Specified by:
shutdown
in interfaceRadiusAccExtension
- Parameters:
extensionContext
- the context which exposes objects that are needed at shutdown time.- Throws:
ExtensionException
- if a non-recoverable error occurs during shutdown.
-