com.flazr.rtmp.message
Enum Control.Type

java.lang.Object
  extended by java.lang.Enum<Control.Type>
      extended by 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


Enum Constant Summary
BUFFER_EMPTY
           
BUFFER_FULL
           
PING_REQUEST
           
PING_RESPONSE
           
SET_BUFFER
           
STREAM_BEGIN
           
STREAM_DRY
           
STREAM_EOF
           
STREAM_IS_RECORDED
           
SWFV_REQUEST
           
SWFV_RESPONSE
           
 
Method Summary
 int intValue()
           
static Control.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Control.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
static Control.Type valueToEnum(int value)
           
 
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

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
Method Detail

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.