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

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

public class AuthSessionStateType
extends java.lang.Object
implements java.io.Serializable, Enumerated

Java class to represent the AuthSessionState enumerated type.

Documentation from the relevant specification:

The Auth-Session-State AVP (AVP Code 277) is of type Enumerated and specifies whether state is maintained for a particular session. The client MAY include this AVP in requests as a hint to the server, but the value in the server's answer message is binding.

Author:
Open Cloud
See Also:
Serialized Form

Field Summary
static int _NO_STATE_MAINTAINED
           
static int _STATE_MAINTAINED
           
static AuthSessionStateType NO_STATE_MAINTAINED
          This value is used to specify that no session termination messages will be sent by the access device upon expiration of the Authorization-Lifetime.
static AuthSessionStateType STATE_MAINTAINED
          This value is used to specify that session state is being maintained, and the access device MUST issue a session termination message when service to the user is terminated.
 
Method Summary
static AuthSessionStateType 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

_STATE_MAINTAINED

public static final int _STATE_MAINTAINED
See Also:
Constant Field Values

_NO_STATE_MAINTAINED

public static final int _NO_STATE_MAINTAINED
See Also:
Constant Field Values

STATE_MAINTAINED

public static final AuthSessionStateType STATE_MAINTAINED
This value is used to specify that session state is being maintained, and the access device MUST issue a session termination message when service to the user is terminated. This is the default value.


NO_STATE_MAINTAINED

public static final AuthSessionStateType NO_STATE_MAINTAINED
This value is used to specify that no session termination messages will be sent by the access device upon expiration of the Authorization-Lifetime.

Method Detail

fromInt

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