org.atmosphere.cpr
Enum Broadcaster.SCOPE
java.lang.Object
java.lang.Enum<Broadcaster.SCOPE>
org.atmosphere.cpr.Broadcaster.SCOPE
- All Implemented Interfaces:
- Serializable, Comparable<Broadcaster.SCOPE>
- Enclosing interface:
- Broadcaster<D,E,F>
public static enum Broadcaster.SCOPE
- extends Enum<Broadcaster.SCOPE>
REQUEST
public static final Broadcaster.SCOPE REQUEST
APPLICATION
public static final Broadcaster.SCOPE APPLICATION
VM
public static final Broadcaster.SCOPE VM
values
public static Broadcaster.SCOPE[] 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 (Broadcaster.SCOPE c : Broadcaster.SCOPE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Broadcaster.SCOPE 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 name
NullPointerException - if the argument is null
Copyright © 2009 SUN Microsystems. All Rights Reserved.