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.ExtensionCallbackinitialize in interface RadiusAccExtensioninitialize 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
RadiusAccExtensionhandleRequestReceived in interface RadiusAccExtensionextensionContext - is the context for PreProcessor extensionHookExtensionExceptionpublic void handlePreOCS(RadiusAccPreOCSExtensionContext extensionContext) throws ExtensionException
RadiusAccExtensionhandlePreOCS in interface RadiusAccExtensionextensionContext - is the context for PreOCS extensionHookExtensionExceptionpublic void handlePostOCS(RadiusAccPostOCSExtensionContext extensionContext) throws ExtensionException
RadiusAccExtensionhandlePostOCS in interface RadiusAccExtensionextensionContext - is the context for PostOCS extensionHookExtensionExceptionpublic void shutdown(ExtensionContext extensionContext) throws ExtensionException
oracle.communication.brm.charging.extensions.framework.ExtensionCallbackshutdown in interface RadiusAccExtensionshutdown 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.