Package org.red5.io.object
Enum Class StreamAction
- All Implemented Interfaces:
Serializable
,Comparable<StreamAction>
,java.lang.constant.Constable
Represents all the actions which may be permitted on a stream. Some actions are called by client implementations other than a Flash Player itself; ex "getStreamLength".
If an action is not specified here, the "CUSTOM" enum will be returned.
- Author:
- Paul Gregoire
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
Modifier and TypeFieldDescriptionprivate final String
private static final Map<String,
StreamAction> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
equalsAction
(String actionString) boolean
equalsAction
(StreamAction action) static StreamAction
toString()
static StreamAction
Returns the enum constant of this class with the specified name.static StreamAction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONNECT
-
DISCONNECT
-
CREATE_STREAM
-
DELETE_STREAM
-
CLOSE_STREAM
-
INIT_STREAM
-
RELEASE_STREAM
-
PUBLISH
-
PAUSE
-
PAUSE_RAW
-
SEEK
-
PLAY
-
PLAY2
-
STOP
-
RECEIVE_VIDEO
-
RECEIVE_AUDIO
-
GET_STREAM_LENGTH
-
CUSTOM
-
-
Field Details
-
map
-
actionString
-
-
Constructor Details
-
StreamAction
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getActionString
-
getEnum
-
equalsAction
-
equalsAction
-
toString
- Overrides:
toString
in classEnum<StreamAction>
-