Dependencies
Declarations
-
org
-
glassfish
-
grizzly
-
comet
- CometAddOn
-
CometContext
- INVALID_COMET_HANDLER: String
- ALREADY_REMOVED: String
- COMET_NOT_ENABLED: String
- LOGGER: Logger
- attributes: Map<Object, Object>
- REQUEST_LOCAL: ThreadLocal<Request>
- topic: String
- expirationDelay: long
- notificationHandler: NotificationHandler
- handlers: List<CometHandler>
- eventInterrupt: CometEvent<CometContext>
- eventTerminate: CometEvent<CometContext>
- eventInitialize: CometEvent<CometContext>
- isDetectClosedConnections: boolean
- CometContext(CometEngine, String): void
- initDefaultValues(): void
- getContextPath(): String
- getTopic(): String
- addAttribute(Object, Object): void
- getAttribute(Object): Object
- removeAttribute(Object): Object
- addCometHandler(CometHandler<Object>): int
- recycle(): void
- invokeCometHandler(CometEvent, CometHandler): void
- removeCometHandler(CometHandler): boolean
- removeCometHandler(CometHandler, boolean): boolean
- resumeCometHandler(CometHandler): boolean
- interrupt(CometHandler, boolean): boolean
- interrupt0(CometHandler, boolean): void
- isActive(CometHandler): boolean
- notify(Object): void
- notify(Object, CometHandler): void
- notify(Object, Type, CometHandler): void
- notify(Object, Type): void
- initialize(CometHandler): void
- toString(): String
- getExpirationDelay(): long
- setExpirationDelay(long): void
- getCometHandlers(): List<CometHandler>
- setNotificationHandler(NotificationHandler): void
- getNotificationHandler(): NotificationHandler
- setDetectClosedConnections(boolean): void
- isDetectClosedConnections(): boolean
- notifyOnAsyncRead(CometHandler): void
- CometCompletionHandler
- CometTimeoutHandler
- CometInputHandler
-
CometEngine
- DISABLE_SUSPEND_TIMEOUT: int
- DISABLE_CLIENT_DISCONNECTION_DETECTION: int
- BEFORE_REQUEST_PROCESSING: int
- AFTER_SERVLET_PROCESSING: int
- AFTER_RESPONSE_PROCESSING: int
- logger: Logger
- threadPool: ExecutorService
- cometEngine: CometEngine
- activeContexts: Map<String, CometContext>
- isCometSupported: boolean
- CometEngine(): void
- isCometEnabled(): boolean
- setCometSupported(boolean): void
- getEngine(): CometEngine
- unregister(String): CometContext
- deregister(String): CometContext
- register(String, int): CometContext<Object>
- register(String): CometContext<Object>
- register(String, Class<NotificationHandler>): CometContext<Object>
- getCometContext(String): CometContext<Object>
- interrupt(CometHandler, boolean): boolean
- interrupt0(CometHandler, boolean): void
- logger(): Logger
-
CometEvent
- type: Type
- Type
- attachment: Object
- cometContext: CometContext
- serialVersionUID: long
- CometEvent(): void
- CometEvent(Type): void
- CometEvent(Type, CometContext): void
- CometEvent(Type, CometContext, Object): void
- getType(): Type
- setType(Type): void
- attach(Object): void
- attachment(): Object
- getCometContext(): CometContext
- setCometContext(CometContext): void
- CometHandler
-
DefaultCometHandler
- response: Response
- cometContext: CometContext<Object>
- DefaultCometHandler(): void
- DefaultCometHandler(CometContext<Object>, Response): void
- getResponse(): Response
- setResponse(Response): void
- getCometContext(): CometContext<Object>
- setCometContext(CometContext<Object>): void
- onEvent(CometEvent): void
- onInitialize(CometEvent): void
- onTerminate(CometEvent): void
- onInterrupt(CometEvent): void
- DefaultNotificationHandler
- NotificationHandler
-
concurrent
-
DefaultConcurrentCometHandler
- logger: Logger
- shuttingDown: boolean
- messageQueueLimit: int
- queueSize: int
- readyForWork: boolean
- messageQueue: Queue<CometEvent>
- context: CometContext<Object>
- response: Response
- DefaultConcurrentCometHandler(CometContext<Object>, Response): void
- DefaultConcurrentCometHandler(int): void
- getCometContext(): CometContext<Object>
- setCometContext(CometContext<Object>): void
- getResponse(): Response
- setResponse(Response): void
- enqueueEvent(CometEvent): void
- onQueueFull(CometEvent): void
- onInterrupt(CometEvent): void
- onTerminate(CometEvent): void
- terminate(): void
-
DefaultConcurrentCometHandler
-
comet
-
grizzly
-
glassfish