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

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

public class TerminationCauseType
extends java.lang.Object
implements java.io.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 Summary
static int _DIAMETER_ADMINISTRATIVE
           
static int _DIAMETER_AUTH_EXPIRED
           
static int _DIAMETER_BAD_ANSWER
           
static int _DIAMETER_LINK_BROKEN
           
static int _DIAMETER_LOGOUT
           
static int _DIAMETER_SERVICE_NOT_PROVIDED
           
static int _DIAMETER_SESSION_TIMEOUT
           
static int _DIAMETER_USER_MOVED
           
static TerminationCauseType 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.
static TerminationCauseType DIAMETER_AUTH_EXPIRED
          The user's access was terminated since its authorized session time has expired.
static TerminationCauseType DIAMETER_BAD_ANSWER
          This value indicates that the authorization answer received by the access device was not processed successfully.
static TerminationCauseType DIAMETER_LINK_BROKEN
          The communication to the user was abruptly disconnected.
static TerminationCauseType DIAMETER_LOGOUT
          The user initiated a disconnect
static TerminationCauseType DIAMETER_SERVICE_NOT_PROVIDED
          This value is used when the user disconnected prior to the receipt of the authorization answer message.
static TerminationCauseType DIAMETER_SESSION_TIMEOUT
          The user's session has timed out, and service has been terminated.
static TerminationCauseType DIAMETER_USER_MOVED
          The user is receiving services from another access device.
 
Method Summary
static TerminationCauseType 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

_DIAMETER_LOGOUT

public static final int _DIAMETER_LOGOUT
See Also:
Constant Field Values

_DIAMETER_SERVICE_NOT_PROVIDED

public static final int _DIAMETER_SERVICE_NOT_PROVIDED
See Also:
Constant Field Values

_DIAMETER_BAD_ANSWER

public static final int _DIAMETER_BAD_ANSWER
See Also:
Constant Field Values

_DIAMETER_ADMINISTRATIVE

public static final int _DIAMETER_ADMINISTRATIVE
See Also:
Constant Field Values

_DIAMETER_LINK_BROKEN

public static final int _DIAMETER_LINK_BROKEN
See Also:
Constant Field Values

_DIAMETER_AUTH_EXPIRED

public static final int _DIAMETER_AUTH_EXPIRED
See Also:
Constant Field Values

_DIAMETER_USER_MOVED

public static final int _DIAMETER_USER_MOVED
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 TerminationCauseType DIAMETER_LOGOUT
The user initiated a disconnect


DIAMETER_SERVICE_NOT_PROVIDED

public static final TerminationCauseType 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 TerminationCauseType DIAMETER_BAD_ANSWER
This value indicates that the authorization answer received by the access device was not processed successfully.


DIAMETER_ADMINISTRATIVE

public static final TerminationCauseType 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 TerminationCauseType DIAMETER_LINK_BROKEN
The communication to the user was abruptly disconnected.


DIAMETER_AUTH_EXPIRED

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


DIAMETER_USER_MOVED

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


DIAMETER_SESSION_TIMEOUT

public static final TerminationCauseType DIAMETER_SESSION_TIMEOUT
The user's session has timed out, and service has been terminated.

Method Detail

fromInt

public static TerminationCauseType 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.