Package org.red5.server.messaging
Enum Class PipeConnectionEvent.EventType
java.lang.Object
java.lang.Enum<PipeConnectionEvent.EventType>
org.red5.server.messaging.PipeConnectionEvent.EventType
- All Implemented Interfaces:
Serializable
,Comparable<PipeConnectionEvent.EventType>
,java.lang.constant.Constable
- Enclosing class:
- PipeConnectionEvent
Pipe connection event type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionConsumer connects in pull modeConsumer connects in push modeConsumer disconnectsProvider connects in pull modeProvider connects in push modeProvider disconnects -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PipeConnectionEvent.EventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROVIDER_CONNECT_PULL
Provider connects in pull mode -
PROVIDER_CONNECT_PUSH
Provider connects in push mode -
PROVIDER_DISCONNECT
Provider disconnects -
CONSUMER_CONNECT_PULL
Consumer connects in pull mode -
CONSUMER_CONNECT_PUSH
Consumer connects in push mode -
CONSUMER_DISCONNECT
Consumer disconnects
-
-
Constructor Details
-
EventType
private EventType()
-
-
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
-