org.jdiameter.common.api.app.rx
Enum ClientRxSessionState

java.lang.Object
  extended by java.lang.Enum<ClientRxSessionState>
      extended by org.jdiameter.common.api.app.rx.ClientRxSessionState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ClientRxSessionState>, IAppSessionState<ClientRxSessionState>

public enum ClientRxSessionState
extends java.lang.Enum<ClientRxSessionState>
implements IAppSessionState<ClientRxSessionState>

Diameter 3GPP IMS Rx Reference Point Client Session States

Author:
Alexandre Mendonca , Bartosz Baranowski , Richard Good

Enum Constant Summary
IDLE
           
OPEN
           
PENDING_AAR
           
PENDING_BUFFERED
           
PENDING_EVENT
           
PENDING_STR
           
 
Method Summary
 ClientRxSessionState fromInt(int v)
           
 int getValue()
           
static ClientRxSessionState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ClientRxSessionState[] 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

IDLE

public static final ClientRxSessionState IDLE

PENDING_AAR

public static final ClientRxSessionState PENDING_AAR

PENDING_STR

public static final ClientRxSessionState PENDING_STR

PENDING_EVENT

public static final ClientRxSessionState PENDING_EVENT

PENDING_BUFFERED

public static final ClientRxSessionState PENDING_BUFFERED

OPEN

public static final ClientRxSessionState OPEN
Method Detail

values

public static ClientRxSessionState[] 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 (ClientRxSessionState c : ClientRxSessionState.values())
    System.out.println(c);

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

valueOf

public static ClientRxSessionState 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

fromInt

public ClientRxSessionState fromInt(int v)
                             throws java.lang.IllegalArgumentException
Specified by:
fromInt in interface IAppSessionState<ClientRxSessionState>
Throws:
java.lang.IllegalArgumentException

getValue

public int getValue()
Specified by:
getValue in interface IAppSessionState<ClientRxSessionState>


Copyright © 2014. All Rights Reserved.