org.cipango.diameter.base
Enum Common.AuthSessionState

java.lang.Object
  extended by java.lang.Enum<Common.AuthSessionState>
      extended by org.cipango.diameter.base.Common.AuthSessionState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Common.AuthSessionState>
Enclosing class:
Common

public static enum Common.AuthSessionState
extends java.lang.Enum<Common.AuthSessionState>


Enum Constant Summary
NO_STATE_MAINTAINED
          NO_STATE_MAINTAINED 1 This value is used to specify that no session termination messages will be sent by the access device upon expiration of the Authorization-Lifetime.
STATE_MAINTAINED
          STATE_MAINTAINED 0.
 
Method Summary
static Common.AuthSessionState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Common.AuthSessionState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STATE_MAINTAINED

public static final Common.AuthSessionState STATE_MAINTAINED
STATE_MAINTAINED 0.

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 Common.AuthSessionState NO_STATE_MAINTAINED
NO_STATE_MAINTAINED 1

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

values

public static Common.AuthSessionState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Common.AuthSessionState c : Common.AuthSessionState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Common.AuthSessionState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2010. All Rights Reserved.