public enum WZDataScope extends Enum<WZDataScope>
Enum Constant and Description |
---|
MODULE
Data events sent with a
MODULE scope will be mapped to an invocation of a public handler method
contained within any active server module class having the same name as the event. |
STREAM
Data events sent with a
STREAM scope will be delivered to each client subscribed to the stream. |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns a unique integer-based value for each scope type
|
static WZDataScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WZDataScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WZDataScope STREAM
STREAM
scope will be delivered to each client subscribed to the stream.public static final WZDataScope MODULE
MODULE
scope will be mapped to an invocation of a public handler method
contained within any active server module class having the same name as the event.public static WZDataScope[] values()
for (WZDataScope c : WZDataScope.values()) System.out.println(c);
public static WZDataScope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
© 2016 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal