org.atmosphere.container
Class GlassFishWebSocketSupport.GrizzlyApplication

java.lang.Object
  extended by com.sun.grizzly.websockets.WebSocketAdapter
      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
 boolean isApplicationRequest(com.sun.grizzly.tcp.Request request)
           
 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, upgrade
 
Methods inherited from class com.sun.grizzly.websockets.WebSocketAdapter
onFragment, onMessage, onMessage, onPing, onPong
 
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

isApplicationRequest

public boolean isApplicationRequest(com.sun.grizzly.tcp.Request request)
Specified by:
isApplicationRequest in class com.sun.grizzly.websockets.WebSocketApplication

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)
Specified by:
onClose in interface com.sun.grizzly.websockets.WebSocketListener
Overrides:
onClose in class com.sun.grizzly.websockets.WebSocketApplication


Copyright © 2011. All Rights Reserved.