com.flazr.rtmp.message
Enum Control.Type
java.lang.Object
java.lang.Enum<Control.Type>
com.flazr.rtmp.message.Control.Type
- All Implemented Interfaces:
- ValueToEnum.IntValue, Serializable, Comparable<Control.Type>
- Enclosing class:
- Control
public static enum Control.Type
- extends Enum<Control.Type>
- implements ValueToEnum.IntValue
STREAM_BEGIN
public static final Control.Type STREAM_BEGIN
STREAM_EOF
public static final Control.Type STREAM_EOF
STREAM_DRY
public static final Control.Type STREAM_DRY
SET_BUFFER
public static final Control.Type SET_BUFFER
STREAM_IS_RECORDED
public static final Control.Type STREAM_IS_RECORDED
PING_REQUEST
public static final Control.Type PING_REQUEST
PING_RESPONSE
public static final Control.Type PING_RESPONSE
SWFV_REQUEST
public static final Control.Type SWFV_REQUEST
SWFV_RESPONSE
public static final Control.Type SWFV_RESPONSE
BUFFER_EMPTY
public static final Control.Type BUFFER_EMPTY
BUFFER_FULL
public static final Control.Type BUFFER_FULL
values
public static Control.Type[] 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 (Control.Type c : Control.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Control.Type valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
intValue
public int intValue()
- Specified by:
intValue in interface ValueToEnum.IntValue
valueToEnum
public static Control.Type valueToEnum(int value)
Copyright © 2011. All Rights Reserved.