org.atmosphere.cpr
Class WebSocketProcessor
java.lang.Object
org.atmosphere.cpr.WebSocketProcessor
- All Implemented Interfaces:
- Serializable
public class WebSocketProcessor
- extends Object
- implements Serializable
Like the AsynchronousProcessor class, this class is responsible for dispatching WebSocket request to the
proper WebSocketSupport implementation.
- Author:
- Jeanfrancois Arcand
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSocketProcessor
public WebSocketProcessor(AtmosphereServlet atmosphereServlet,
WebSocketSupport webSocketSupport)
connect
public void connect(HttpServletRequest request)
throws IOException
- Throws:
IOException
broadcast
public void broadcast(byte frame,
String data)
broadcast
public void broadcast(byte frame,
byte[] data,
int offset,
int length)
close
public void close()
Copyright © 2010. All Rights Reserved.