|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RTSPDecoder.ReadState>
org.red5.server.net.rtsp.codec.RTSPDecoder.ReadState
public static enum RTSPDecoder.ReadState
State enumerator that indicates the reached state in the RTSP message decoding process.
| Enum Constant Summary | |
|---|---|
Body
Reading body (entity) |
|
Command
Reading command (request or command line) |
|
Dispatch
Fully formed message |
|
Failed
Unrecoverable error occurred |
|
Header
Reading headers |
|
Packet
Reading interleaved packet |
|
Ready
Waiting for a command |
|
Sync
Trying to resync |
|
| Method Summary | |
|---|---|
static RTSPDecoder.ReadState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RTSPDecoder.ReadState[] |
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 |
|---|
public static final RTSPDecoder.ReadState Failed
public static final RTSPDecoder.ReadState Sync
public static final RTSPDecoder.ReadState Ready
public static final RTSPDecoder.ReadState Packet
public static final RTSPDecoder.ReadState Command
public static final RTSPDecoder.ReadState Header
public static final RTSPDecoder.ReadState Body
public static final RTSPDecoder.ReadState Dispatch
| Method Detail |
|---|
public static RTSPDecoder.ReadState[] values()
for (RTSPDecoder.ReadState c : RTSPDecoder.ReadState.values()) System.out.println(c);
public static RTSPDecoder.ReadState valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||