public static enum AtmosphereInternalEvent.Type extends Enum<AtmosphereInternalEvent.Type>
AtmosphereResourceEventListener
Suspend type is not supported because it is not possible to push messages with suspended connectionEnum Constant and Description |
---|
Broadcast |
Close |
Disconnect |
PreSuspend |
Resume |
Throwable |
Modifier and Type | Method and Description |
---|---|
static AtmosphereInternalEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AtmosphereInternalEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AtmosphereInternalEvent.Type PreSuspend
public static final AtmosphereInternalEvent.Type Resume
public static final AtmosphereInternalEvent.Type Disconnect
public static final AtmosphereInternalEvent.Type Broadcast
public static final AtmosphereInternalEvent.Type Throwable
public static final AtmosphereInternalEvent.Type Close
public static AtmosphereInternalEvent.Type[] values()
for (AtmosphereInternalEvent.Type c : AtmosphereInternalEvent.Type.values()) System.out.println(c);
public static AtmosphereInternalEvent.Type 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 nullCopyright © 2006–2021 Apache Software Foundation. All rights reserved.