public class SampleRadiusAccountingExtension extends java.lang.Object implements RadiusAccExtension
Constructor and Description |
---|
SampleRadiusAccountingExtension() |
Modifier and Type | Method and Description |
---|---|
void |
handlePostOCS(RadiusAccPostOCSExtensionContext extensionContext)
Handles The Call to execute PostOCS extensionHook
|
void |
handlePreOCS(RadiusAccPreOCSExtensionContext extensionContext)
Handles The Call to execute PreOCS extensionHook
|
void |
handleRequestReceived(RadiusAccPreProcessorExtensionContext extensionContext)
Handles The Call to execute PreProcessor extensionHook
|
void |
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.
|
public void initialize(ExtensionContext extensionContext) throws ExtensionException
oracle.communication.brm.charging.extensions.framework.ExtensionCallback
initialize
in interface RadiusAccExtension
initialize
in interface oracle.communication.brm.charging.extensions.framework.ExtensionCallback<ExtensionContext>
extensionContext
- the context which exposes objects that are needed at initialization time.ExtensionException
- if a non-recoverable error occurs during initialization.public void handleRequestReceived(RadiusAccPreProcessorExtensionContext extensionContext) throws ExtensionException
RadiusAccExtension
handleRequestReceived
in interface RadiusAccExtension
extensionContext
- is the context for PreProcessor extensionHookExtensionException
public void handlePreOCS(RadiusAccPreOCSExtensionContext extensionContext) throws ExtensionException
RadiusAccExtension
handlePreOCS
in interface RadiusAccExtension
extensionContext
- is the context for PreOCS extensionHookExtensionException
public void handlePostOCS(RadiusAccPostOCSExtensionContext extensionContext) throws ExtensionException
RadiusAccExtension
handlePostOCS
in interface RadiusAccExtension
extensionContext
- is the context for PostOCS extensionHookExtensionException
public void shutdown(ExtensionContext extensionContext) throws ExtensionException
oracle.communication.brm.charging.extensions.framework.ExtensionCallback
shutdown
in interface RadiusAccExtension
shutdown
in interface oracle.communication.brm.charging.extensions.framework.ExtensionCallback<ExtensionContext>
extensionContext
- the context which exposes objects that are needed at shutdown time.ExtensionException
- if a non-recoverable error occurs during shutdown.