Class TerminationCause

  • All Implemented Interfaces:
    Serializable, Enumerated

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

    Documentation from the relevant specification:

    The Termination-Cause AVP (AVP Code 295) is of type Enumerated, and is used to indicate the reason why a session was terminated on the access device.

    Open Cloud
    See Also:
    Serialized Form
    • Field Detail


        public static final int _DIAMETER_SERVICE_NOT_PROVIDED
        See Also:
        Constant Field Values

        public static final int _DIAMETER_ADMINISTRATIVE
        See Also:
        Constant Field Values

        public static final int _DIAMETER_SESSION_TIMEOUT
        See Also:
        Constant Field Values

        public static final TerminationCause DIAMETER_LOGOUT
        The user initiated a disconnect

        public static final TerminationCause DIAMETER_SERVICE_NOT_PROVIDED
        This value is used when the user disconnected prior to the receipt of the authorization answer message.

        public static final TerminationCause DIAMETER_BAD_ANSWER
        This value indicates that the authorization answer received by the access device was not processed successfully.

        public static final TerminationCause DIAMETER_ADMINISTRATIVE
        The user was not granted access, or was disconnected, due to administrative reasons, such as the receipt of a Abort-Session- Request message.

        public static final TerminationCause DIAMETER_LINK_BROKEN
        The communication to the user was abruptly disconnected.

        public static final TerminationCause DIAMETER_AUTH_EXPIRED
        The user's access was terminated since its authorized session time has expired.

        public static final TerminationCause DIAMETER_USER_MOVED
        The user is receiving services from another access device.

        public static final TerminationCause DIAMETER_SESSION_TIMEOUT
        The user's session has timed out, and service has been terminated.
    • 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