net.java.slee.resource.diameter.base.events.avp
Class DisconnectCauseType

java.lang.Object
  extended by net.java.slee.resource.diameter.base.events.avp.DisconnectCauseType
All Implemented Interfaces:
java.io.Serializable, Enumerated

public class DisconnectCauseType
extends java.lang.Object
implements java.io.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 shutdown the transport connection.

Author:
Open Cloud
See Also:
Serialized Form

Field Summary
static int _BUSY
           
static int _DO_NOT_WANT_TO_TALK_TO_YOU
           
static int _REBOOTING
           
static DisconnectCauseType BUSY
          The peer's internal resources are constrained, and it has determined that the transport connection needs to be closed.
static DisconnectCauseType 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.
static DisconnectCauseType REBOOTING
          A scheduled reboot is imminent.
 
Method Summary
static DisconnectCauseType fromInt(int type)
           
 int getValue()
          Return the value of this instance of this enumerated type.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_REBOOTING

public static final int _REBOOTING
See Also:
Constant Field Values

_BUSY

public static final int _BUSY
See Also:
Constant Field Values

_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 DisconnectCauseType REBOOTING
A scheduled reboot is imminent.


BUSY

public static final DisconnectCauseType BUSY
The peer's internal resources are constrained, and it has determined that the transport connection needs to be closed.


DO_NOT_WANT_TO_TALK_TO_YOU

public static final DisconnectCauseType 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.

Method Detail

fromInt

public static DisconnectCauseType fromInt(int type)

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008. All Rights Reserved.