org.atmosphere.container
Class GlassFishWebSocketSupport.GrizzlyWebSocket
java.lang.Object
org.atmosphere.container.GlassFishWebSocketSupport.GrizzlyWebSocket
- All Implemented Interfaces:
- WebSocket
- Enclosing class:
- GlassFishWebSocketSupport
public class GlassFishWebSocketSupport.GrizzlyWebSocket
- extends Object
- implements WebSocket
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlassFishWebSocketSupport.GrizzlyWebSocket
public GlassFishWebSocketSupport.GrizzlyWebSocket(com.sun.grizzly.websockets.WebSocket webSocket)
writeError
public void writeError(int errorCode,
String message)
throws IOException
- Specified by:
writeError in interface WebSocket
- Throws:
IOException
redirect
public void redirect(String location)
throws IOException
- Specified by:
redirect in interface WebSocket
- Throws:
IOException
write
public void write(byte frame,
String data)
throws IOException
- Specified by:
write in interface WebSocket
- Throws:
IOException
write
public void write(byte frame,
byte[] data)
throws IOException
- Specified by:
write in interface WebSocket
- Throws:
IOException
write
public void write(byte frame,
byte[] data,
int offset,
int length)
throws IOException
- Specified by:
write in interface WebSocket
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface WebSocket
- Throws:
IOException
Copyright © 2011. All Rights Reserved.