public abstract class VibeWebSocketHandler extends Object implements Handler<ServerWebSocket>
ServerWebSocket into
VertxServerWebSocket.
httpServer.websocketHandler(new VibeWebSocketHandler() {
@Override
protected Action<ServerWebSocket> wsAction() {
return server.wsAction();
}
});
| Constructor and Description |
|---|
VibeWebSocketHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(ServerWebSocket ws) |
protected abstract Action<ServerWebSocket> |
wsAction()
An
Action to consume ServerWebSocket. |
public void handle(ServerWebSocket ws)
handle in interface Handler<ServerWebSocket>protected abstract Action<ServerWebSocket> wsAction()
Action to consume ServerWebSocket.Copyright 2014, The Vibe Project