Package org.red5.server.messaging
Enum PipeConnectionEvent.EventType
java.lang.Object
java.lang.Enum<PipeConnectionEvent.EventType>
org.red5.server.messaging.PipeConnectionEvent.EventType
- All Implemented Interfaces:
Serializable,Comparable<PipeConnectionEvent.EventType>
- Enclosing class:
PipeConnectionEvent
Pipe connection event type
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConsumer connects in pull modeConsumer connects in push modeConsumer disconnectsProvider connects in pull modeProvider connects in push modeProvider disconnects -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static PipeConnectionEvent.EventType[]values()Returns an array containing the constants of this enum type, 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
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-