Class DisconnectCause

  • All Implemented Interfaces:
    Serializable, Enumerated

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

    Documentation from the relevant specification:

    The Disconnect-Cause AVP (AVP Code 273) is of type Enumerated. A Diameter node MUST include this AVP in the Disconnect-Peer-Request message to inform the peer of the reason for its intention to shut down the transport connection. The following values are supported:

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

      • _DO_NOT_WANT_TO_TALK_TO_YOU

        public static final int _DO_NOT_WANT_TO_TALK_TO_YOU
        See Also:
        Constant Field Values
      • REBOOTING

        public static final DisconnectCause REBOOTING
        A scheduled reboot is imminent. A receiver of a DPR with above result code MAY attempt reconnection.
      • BUSY

        public static final DisconnectCause BUSY
        The peer's internal resources are constrained, and it has determined that the transport connection needs to be closed. A receiver of a DPR with above result code SHOULD NOT attempt reconnection.
      • DO_NOT_WANT_TO_TALK_TO_YOU

        public static final DisconnectCause DO_NOT_WANT_TO_TALK_TO_YOU
        The peer has determined that it does not see a need for the transport connection to exist, since it does not expect any messages to be exchanged in the near future. A receiver of a DPR with above result code SHOULD NOT attempt reconnection.
    • 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