org.atmosphere.wasync
Enum Transport.EVENT_TYPE
java.lang.Object
java.lang.Enum<Transport.EVENT_TYPE>
org.atmosphere.wasync.Transport.EVENT_TYPE
- All Implemented Interfaces:
- Serializable, Comparable<Transport.EVENT_TYPE>
- Enclosing interface:
- Transport
public static enum Transport.EVENT_TYPE
- extends Enum<Transport.EVENT_TYPE>
OPEN
public static final Transport.EVENT_TYPE OPEN
CLOSE
public static final Transport.EVENT_TYPE CLOSE
MESSAGE
public static final Transport.EVENT_TYPE MESSAGE
RECONNECT
public static final Transport.EVENT_TYPE RECONNECT
ERROR
public static final Transport.EVENT_TYPE ERROR
values
public static Transport.EVENT_TYPE[] 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 (Transport.EVENT_TYPE c : Transport.EVENT_TYPE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Transport.EVENT_TYPE 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 © 2013. All Rights Reserved.