Class CcSessionFailover

  • All Implemented Interfaces:
    Serializable, Enumerated

    public class CcSessionFailover
    extends Object
    implements Serializable, Enumerated
    Java class to represent the CcSessionFailover enumerated type.

    Documentation from the relevant specification:

    The CC-Session-Failover AVP (AVP Code 418) is type of Enumerated and contains information as to whether moving the credit-control message stream to a backup server during an ongoing credit-control session is supported. In communication failures, the credit-control message streams can be moved to an alternative destination if the credit- control server supports failover to an alternative server. The secondary credit-control server name, if received from the home Diameter AAA server, can be used as an address of the backup server. An implementation is not required to support moving a credit-control message stream to an alternative server, as this also requires moving information related to the credit-control session to backup server.

    Author:
    Open Cloud
    See Also:
    Serialized Form
    • Field Detail

      • _FAILOVER_NOT_SUPPORTED

        public static final int _FAILOVER_NOT_SUPPORTED
        See Also:
        Constant Field Values
      • FAILOVER_NOT_SUPPORTED

        public static final CcSessionFailover FAILOVER_NOT_SUPPORTED
        When the CC-Session-Failover AVP is set to FAILOVER_NOT_SUPPORTED, the credit-control message stream MUST NOT to be moved to an alternative destination in the case of communication failure. This is the default behavior if the AVP isn't included in the reply from the authorization or credit-control server.
      • FAILOVER_SUPPORTED

        public static final CcSessionFailover FAILOVER_SUPPORTED
        When the CC-Session-Failover AVP is set to FAILOVER_SUPPORTED, the credit-control message stream SHOULD be moved to an alternative destination in the case of communication failure. Moving the credit-control message stream to a backup server MAY require that information related to the credit-control session should also be forwarded to alternative server.
    • Method Detail

      • getValue

        public int getValue()
        Description copied from interface: Enumerated
        Return the value of this instance of this enumerated type.
        Specified by:
        getValue in interface Enumerated
        Returns:
        value