public enum ChunkType extends Enum<ChunkType>
| Enum Constant and Description |
|---|
ABORT |
COOKIE_ACK |
COOKIE_ECHO |
CWR |
DATA |
ECNE |
ERROR |
HEARTBEAT |
HEARTBEAT_ACK |
INIT |
INIT_ACK |
SACK |
SHUTDOWN |
SHUTDOWN_ACK |
SHUTDOWN_COMPLETE |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static ChunkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChunkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChunkType DATA
public static final ChunkType INIT
public static final ChunkType INIT_ACK
public static final ChunkType SACK
public static final ChunkType HEARTBEAT
public static final ChunkType HEARTBEAT_ACK
public static final ChunkType ABORT
public static final ChunkType SHUTDOWN
public static final ChunkType SHUTDOWN_ACK
public static final ChunkType ERROR
public static final ChunkType COOKIE_ECHO
public static final ChunkType COOKIE_ACK
public static final ChunkType ECNE
public static final ChunkType CWR
public static final ChunkType SHUTDOWN_COMPLETE
public static ChunkType[] values()
for (ChunkType c : ChunkType.values()) System.out.println(c);
public static ChunkType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
Copyright © 2005–2017 Red5. All rights reserved.