Package org.red5.proxy
Enum StreamState
- java.lang.Object
-
- java.lang.Enum<StreamState>
-
- org.red5.proxy.StreamState
-
- All Implemented Interfaces:
Serializable,Comparable<StreamState>
public enum StreamState extends Enum<StreamState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTINGPUBLISHEDPUBLISHINGSTOPPEDSTREAM_CREATINGUNINITIALIZEDUNPUBLISHED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StreamStatevalueOf(String name)Returns the enum constant of this type with the specified name.static StreamState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNINITIALIZED
public static final StreamState UNINITIALIZED
-
STOPPED
public static final StreamState STOPPED
-
CONNECTING
public static final StreamState CONNECTING
-
STREAM_CREATING
public static final StreamState STREAM_CREATING
-
PUBLISHING
public static final StreamState PUBLISHING
-
PUBLISHED
public static final StreamState PUBLISHED
-
UNPUBLISHED
public static final StreamState UNPUBLISHED
-
-
Method Detail
-
values
public static StreamState[] 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 (StreamState c : StreamState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamState 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 nameNullPointerException- if the argument is null
-
-