Class SampleDiameterSyExtension

java.lang.Object
oracle.communication.brm.charging.sdk.extensions.SampleDiameterSyExtension
All Implemented Interfaces:
oracle.communication.brm.charging.extensions.diameter.sy.internal.SyExtension, oracle.communication.brm.charging.extensions.framework.ExtensionCallback<ExtensionContext>

public class SampleDiameterSyExtension extends Object implements oracle.communication.brm.charging.extensions.diameter.sy.internal.SyExtension
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handlePostOCS(oracle.communication.brm.charging.extensions.diameter.sy.internal.SyPostOCSExtensionContext extensionContext)
     
    void
    handlePreOCS(oracle.communication.brm.charging.extensions.diameter.sy.internal.SyPreOCSExtensionContext extensionContext)
     
    void
    handleRequestReceived(oracle.communication.brm.charging.extensions.diameter.sy.internal.SyPreProcessorExtensionContext extensionContext)
     
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • SampleDiameterSyExtension

      public SampleDiameterSyExtension()
  • Method Details

    • initialize

      public void initialize(ExtensionContext extensionContext) throws ExtensionException
      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 interface oracle.communication.brm.charging.extensions.framework.ExtensionCallback<ExtensionContext>
      Specified by:
      initialize in interface oracle.communication.brm.charging.extensions.diameter.sy.internal.SyExtension
      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(oracle.communication.brm.charging.extensions.diameter.sy.internal.SyPreProcessorExtensionContext extensionContext) throws ExtensionException
      Specified by:
      handleRequestReceived in interface oracle.communication.brm.charging.extensions.diameter.sy.internal.SyExtension
      Throws:
      ExtensionException
    • handlePreOCS

      public void handlePreOCS(oracle.communication.brm.charging.extensions.diameter.sy.internal.SyPreOCSExtensionContext extensionContext) throws ExtensionException
      Specified by:
      handlePreOCS in interface oracle.communication.brm.charging.extensions.diameter.sy.internal.SyExtension
      Throws:
      ExtensionException
    • handlePostOCS

      public void handlePostOCS(oracle.communication.brm.charging.extensions.diameter.sy.internal.SyPostOCSExtensionContext extensionContext) throws ExtensionException
      Specified by:
      handlePostOCS in interface oracle.communication.brm.charging.extensions.diameter.sy.internal.SyExtension
      Throws:
      ExtensionException
    • shutdown

      public void shutdown(ExtensionContext extensionContext) throws ExtensionException
      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 interface oracle.communication.brm.charging.extensions.framework.ExtensionCallback<ExtensionContext>
      Specified by:
      shutdown in interface oracle.communication.brm.charging.extensions.diameter.sy.internal.SyExtension
      Parameters:
      extensionContext - the context which exposes objects that are needed at shutdown time.
      Throws:
      ExtensionException - if a non-recoverable error occurs during shutdown.