Package | Description |
---|---|
org.glassfish.grizzly.comet |
Modifier and Type | Field and Description |
---|---|
protected CometEvent.Type |
CometEvent.type
This type of event.
|
Modifier and Type | Method and Description |
---|---|
CometEvent.Type |
CometEvent.getType()
Return the
type of this object. |
static CometEvent.Type |
CometEvent.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CometEvent.Type[] |
CometEvent.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
CometContext.notify(E attachment,
CometEvent.Type eventType)
Notify all
CometHandler . |
void |
CometContext.notify(E attachment,
CometEvent.Type eventType,
CometHandler cometHandler)
Notify a single
CometHandler . |
protected void |
CometEvent.setType(CometEvent.Type type)
Set the
type of this object. |
Constructor and Description |
---|
CometEvent(CometEvent.Type type) |
CometEvent(CometEvent.Type type,
CometContext context) |
CometEvent(CometEvent.Type type,
CometContext cometContext,
E attachment) |
Copyright © 2015 Oracle Corporation. All rights reserved.