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.

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

      • _DIAMETER_SERVICE_NOT_PROVIDED

        public static final int _DIAMETER_SERVICE_NOT_PROVIDED
        See Also:
        Constant Field Values
      • _DIAMETER_ADMINISTRATIVE

        public static final int _DIAMETER_ADMINISTRATIVE
        See Also:
        Constant Field Values
      • _DIAMETER_SESSION_TIMEOUT

        public static final int _DIAMETER_SESSION_TIMEOUT
        See Also:
        Constant Field Values
      • DIAMETER_LOGOUT

        public static final TerminationCause DIAMETER_LOGOUT
        The user initiated a disconnect
      • DIAMETER_SERVICE_NOT_PROVIDED

        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.
      • DIAMETER_BAD_ANSWER

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

        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.
      • DIAMETER_LINK_BROKEN

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

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

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

        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
        Returns:
        value