org.atmosphere.gwt.client.impl
Enum AtmosphereProxyEvent.EventType

java.lang.Object
  extended by java.lang.Enum<AtmosphereProxyEvent.EventType>
      extended by org.atmosphere.gwt.client.impl.AtmosphereProxyEvent.EventType
All Implemented Interfaces:
Serializable, Comparable<AtmosphereProxyEvent.EventType>
Enclosing class:
AtmosphereProxyEvent

public static enum AtmosphereProxyEvent.EventType
extends Enum<AtmosphereProxyEvent.EventType>


Enum Constant Summary
ADOPT_ORPHANS
           
ANNOUNCE_CHILD_DEATH
           
ANNOUNCE_NEW_CHILD
           
ANNOUNCE_NEW_PARENT
           
BROADCAST
           
ELECT_MASTER
           
ON_AFTER_REFRESH
           
ON_BEFORE_DISCONNECTED
           
ON_CONNECTED
           
ON_DISCONNECTED
           
ON_ERROR
           
ON_HEARTBEAT
           
ON_MESSAGE
           
ON_REFRESH
           
POST
           
 
Method Summary
static AtmosphereProxyEvent.EventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AtmosphereProxyEvent.EventType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ON_CONNECTED

public static final AtmosphereProxyEvent.EventType ON_CONNECTED

ON_BEFORE_DISCONNECTED

public static final AtmosphereProxyEvent.EventType ON_BEFORE_DISCONNECTED

ON_DISCONNECTED

public static final AtmosphereProxyEvent.EventType ON_DISCONNECTED

ON_ERROR

public static final AtmosphereProxyEvent.EventType ON_ERROR

ON_HEARTBEAT

public static final AtmosphereProxyEvent.EventType ON_HEARTBEAT

ON_REFRESH

public static final AtmosphereProxyEvent.EventType ON_REFRESH

ON_AFTER_REFRESH

public static final AtmosphereProxyEvent.EventType ON_AFTER_REFRESH

ON_MESSAGE

public static final AtmosphereProxyEvent.EventType ON_MESSAGE

POST

public static final AtmosphereProxyEvent.EventType POST

BROADCAST

public static final AtmosphereProxyEvent.EventType BROADCAST

ANNOUNCE_NEW_CHILD

public static final AtmosphereProxyEvent.EventType ANNOUNCE_NEW_CHILD

ANNOUNCE_CHILD_DEATH

public static final AtmosphereProxyEvent.EventType ANNOUNCE_CHILD_DEATH

ELECT_MASTER

public static final AtmosphereProxyEvent.EventType ELECT_MASTER

ADOPT_ORPHANS

public static final AtmosphereProxyEvent.EventType ADOPT_ORPHANS

ANNOUNCE_NEW_PARENT

public static final AtmosphereProxyEvent.EventType ANNOUNCE_NEW_PARENT
Method Detail

values

public static AtmosphereProxyEvent.EventType[] 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 (AtmosphereProxyEvent.EventType c : AtmosphereProxyEvent.EventType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AtmosphereProxyEvent.EventType 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 © 2012. All Rights Reserved.