org.atmosphere.container
Class GlassFishWebSocketSupport.GrizzlyApplication
java.lang.Object
com.sun.grizzly.websockets.WebSocketApplication
org.atmosphere.container.GlassFishWebSocketSupport.GrizzlyApplication
- All Implemented Interfaces:
- com.sun.grizzly.websockets.WebSocketListener
- Enclosing class:
- GlassFishWebSocketSupport
public class GlassFishWebSocketSupport.GrizzlyApplication
- extends com.sun.grizzly.websockets.WebSocketApplication
Grizzly support for WebSocket.
|
Method Summary |
com.sun.grizzly.websockets.WebSocket |
createSocket(com.sun.grizzly.tcp.Request request,
com.sun.grizzly.tcp.Response response)
|
void |
onClose(com.sun.grizzly.websockets.WebSocket webSocket)
|
void |
onConnect(com.sun.grizzly.websockets.WebSocket w)
|
void |
onMessage(com.sun.grizzly.websockets.WebSocket webSocket,
com.sun.grizzly.websockets.DataFrame dataFrame)
|
| Methods inherited from class com.sun.grizzly.websockets.WebSocketApplication |
add, add, remove, remove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlassFishWebSocketSupport.GrizzlyApplication
public GlassFishWebSocketSupport.GrizzlyApplication()
createSocket
public com.sun.grizzly.websockets.WebSocket createSocket(com.sun.grizzly.tcp.Request request,
com.sun.grizzly.tcp.Response response)
throws IOException
- Overrides:
createSocket in class com.sun.grizzly.websockets.WebSocketApplication
- Throws:
IOException
onConnect
public void onConnect(com.sun.grizzly.websockets.WebSocket w)
onMessage
public void onMessage(com.sun.grizzly.websockets.WebSocket webSocket,
com.sun.grizzly.websockets.DataFrame dataFrame)
onClose
public void onClose(com.sun.grizzly.websockets.WebSocket webSocket)
Copyright © 2010. All Rights Reserved.