public class GlassFishWebSocketHandler
extends com.sun.grizzly.websockets.WebSocketApplication
| Constructor and Description |
|---|
GlassFishWebSocketHandler(AtmosphereConfig config) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.grizzly.websockets.WebSocket |
createWebSocket(com.sun.grizzly.websockets.ProtocolHandler protocolHandler,
com.sun.grizzly.websockets.WebSocketListener... listeners) |
boolean |
isApplicationRequest(com.sun.grizzly.tcp.Request request) |
void |
onClose(com.sun.grizzly.websockets.WebSocket w,
com.sun.grizzly.websockets.DataFrame df) |
void |
onConnect(com.sun.grizzly.websockets.WebSocket w) |
void |
onFragment(com.sun.grizzly.websockets.WebSocket w,
byte[] bytes,
boolean last) |
void |
onFragment(com.sun.grizzly.websockets.WebSocket w,
String text,
boolean last) |
void |
onMessage(com.sun.grizzly.websockets.WebSocket w,
byte[] bytes) |
void |
onMessage(com.sun.grizzly.websockets.WebSocket w,
String text) |
void |
onPing(com.sun.grizzly.websockets.WebSocket w,
byte[] bytes) |
void |
onPong(com.sun.grizzly.websockets.WebSocket w,
byte[] bytes) |
add, getCoreWriterThreads, getMaxWriterThreads, getQueueSizeReceiverDelayingThreshold, getQueueSizeThreadSpawnThreshold, getSupportedExtensions, getSupportedProtocols, getWebSockets, helpWriteQueue, isWriterThreadsEnabled, removepublic GlassFishWebSocketHandler(AtmosphereConfig config)
public com.sun.grizzly.websockets.WebSocket createWebSocket(com.sun.grizzly.websockets.ProtocolHandler protocolHandler,
com.sun.grizzly.websockets.WebSocketListener... listeners)
createWebSocket in class com.sun.grizzly.websockets.WebSocketApplicationpublic void onConnect(com.sun.grizzly.websockets.WebSocket w)
onConnect in interface com.sun.grizzly.websockets.WebSocketListeneronConnect in class com.sun.grizzly.websockets.WebSocketApplicationpublic boolean isApplicationRequest(com.sun.grizzly.tcp.Request request)
isApplicationRequest in class com.sun.grizzly.websockets.WebSocketApplicationpublic void onClose(com.sun.grizzly.websockets.WebSocket w,
com.sun.grizzly.websockets.DataFrame df)
onClose in interface com.sun.grizzly.websockets.WebSocketListeneronClose in class com.sun.grizzly.websockets.WebSocketApplicationpublic void onMessage(com.sun.grizzly.websockets.WebSocket w,
String text)
onMessage in interface com.sun.grizzly.websockets.WebSocketListeneronMessage in class com.sun.grizzly.websockets.WebSocketAdapterpublic void onMessage(com.sun.grizzly.websockets.WebSocket w,
byte[] bytes)
onMessage in interface com.sun.grizzly.websockets.WebSocketListeneronMessage in class com.sun.grizzly.websockets.WebSocketAdapterpublic void onPing(com.sun.grizzly.websockets.WebSocket w,
byte[] bytes)
onPing in interface com.sun.grizzly.websockets.WebSocketListeneronPing in class com.sun.grizzly.websockets.WebSocketAdapterpublic void onPong(com.sun.grizzly.websockets.WebSocket w,
byte[] bytes)
onPong in interface com.sun.grizzly.websockets.WebSocketListeneronPong in class com.sun.grizzly.websockets.WebSocketAdapterpublic void onFragment(com.sun.grizzly.websockets.WebSocket w,
byte[] bytes,
boolean last)
onFragment in interface com.sun.grizzly.websockets.WebSocketListeneronFragment in class com.sun.grizzly.websockets.WebSocketAdapterpublic void onFragment(com.sun.grizzly.websockets.WebSocket w,
String text,
boolean last)
onFragment in interface com.sun.grizzly.websockets.WebSocketListeneronFragment in class com.sun.grizzly.websockets.WebSocketAdapterCopyright © 2016. All rights reserved.