Class AuthSessionState
- java.lang.Object
-
- org.jainslee.resources.diameter.base.types.AuthSessionState
-
- All Implemented Interfaces:
Serializable,Enumerated
public class AuthSessionState extends Object implements 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. The following values are supported:- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int_NO_STATE_MAINTAINEDstatic int_STATE_MAINTAINEDstatic AuthSessionStateNO_STATE_MAINTAINEDThis value is used to specify that no session termination messages will be sent by the access device upon expiration of the Authorization-Lifetime.static AuthSessionStateSTATE_MAINTAINEDThis 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthSessionStatefromInt(int type)intgetValue()Return the value of this instance of this enumerated type.StringtoString()
-
-
-
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 AuthSessionState 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 AuthSessionState 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 AuthSessionState fromInt(int type)
-
getValue
public int getValue()
Description copied from interface:EnumeratedReturn the value of this instance of this enumerated type.- Specified by:
getValuein interfaceEnumerated- Returns:
- value
-
-