org.atmosphere.container.version
Class GrizzlyWebSocket
java.lang.Object
org.atmosphere.cpr.AsyncIOWriterAdapter
org.atmosphere.cpr.AtmosphereInterceptorWriter
org.atmosphere.websocket.WebSocket
org.atmosphere.container.version.GrizzlyWebSocket
- All Implemented Interfaces:
- AsyncIOWriter
public final class GrizzlyWebSocket
- extends WebSocket
| Methods inherited from class org.atmosphere.websocket.WebSocket |
close, config, flush, lastWriteTimeStampInMilliseconds, redirect, resource, resource, transform, webSocketHandler, webSocketHandler, write, write, write, writeError |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrizzlyWebSocket
public GrizzlyWebSocket(com.sun.grizzly.websockets.WebSocket webSocket,
AtmosphereConfig config)
isOpen
public boolean isOpen()
- Description copied from class:
WebSocket
- Is the underlying WebSocket open.
- Specified by:
isOpen in class WebSocket
- Returns:
write
public WebSocket write(String s)
throws IOException
- Specified by:
write in class WebSocket
- Throws:
IOException
write
public WebSocket write(byte[] data,
int offset,
int length)
throws IOException
- Specified by:
write in class WebSocket
- Throws:
IOException
close
public void close()
- Specified by:
close in class WebSocket
Copyright © 2012. All Rights Reserved.