org.atmosphere.container
Class GlassFishWebSocketSupport.GrizzlyApplication

java.lang.Object
  extended by com.sun.grizzly.websockets.WebSocketApplication
      extended by 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.


Constructor Summary
GlassFishWebSocketSupport.GrizzlyApplication()
           
 
Method Summary
 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, createSocket, getWebSockets, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlassFishWebSocketSupport.GrizzlyApplication

public GlassFishWebSocketSupport.GrizzlyApplication()
Method Detail

onConnect

public void onConnect(com.sun.grizzly.websockets.WebSocket w)
Specified by:
onConnect in interface com.sun.grizzly.websockets.WebSocketListener
Overrides:
onConnect in class com.sun.grizzly.websockets.WebSocketApplication

onMessage

public void onMessage(com.sun.grizzly.websockets.WebSocket webSocket,
                      com.sun.grizzly.websockets.DataFrame dataFrame)
Specified by:
onMessage in interface com.sun.grizzly.websockets.WebSocketListener
Overrides:
onMessage in class com.sun.grizzly.websockets.WebSocketApplication

onClose

public void onClose(com.sun.grizzly.websockets.WebSocket webSocket)
Specified by:
onClose in interface com.sun.grizzly.websockets.WebSocketListener
Overrides:
onClose in class com.sun.grizzly.websockets.WebSocketApplication


Copyright © 2010. All Rights Reserved.