org.echarts.servlet.sip
Enum PortState

java.lang.Object
  extended by java.lang.Enum<PortState>
      extended by org.echarts.servlet.sip.PortState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PortState>

public enum PortState
extends java.lang.Enum<PortState>

Class that represents state of a SipPort.


Enum Constant Summary
BYE_RECEIVED
           
BYE_SENT
           
CANCEL_SENT
           
CONFIRMED
           
END
           
INVITE_RECEIVED
           
INVITE_SENT
           
START
           
 
Method Summary
static PortState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PortState[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

START

public static final PortState START

INVITE_RECEIVED

public static final PortState INVITE_RECEIVED

INVITE_SENT

public static final PortState INVITE_SENT

CONFIRMED

public static final PortState CONFIRMED

BYE_SENT

public static final PortState BYE_SENT

BYE_RECEIVED

public static final PortState BYE_RECEIVED

CANCEL_SENT

public static final PortState CANCEL_SENT

END

public static final PortState END
Method Detail

values

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

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

valueOf

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