public class WebSocketServerTransport extends BaseServerTransport
Because WebSocket protocol itself meets transport's requirements,
WebSocketServerTransport is actually a thread-safe version of
ServerWebSocket.
closeActions, errorActions, textActions| Constructor and Description |
|---|
WebSocketServerTransport(org.atmosphere.vibe.platform.ws.ServerWebSocket ws) |
| Modifier and Type | Method and Description |
|---|---|
void |
doClose() |
void |
doSend(String data) |
<T> T |
unwrap(Class<T> clazz)
ServerWebSocket is available. |
String |
uri()
A URI used to connect.
|
close, closeAction, errorAction, send, textActionpublic WebSocketServerTransport(org.atmosphere.vibe.platform.ws.ServerWebSocket ws)
public String uri()
ServerTransportURI or
something like that.public void doSend(String data)
doSend in class BaseServerTransportpublic void doClose()
doClose in class BaseServerTransportpublic <T> T unwrap(Class<T> clazz)
ServerWebSocket is available.Copyright 2014, The Vibe Project