Package io.varhttp
Class UndertowWebSocket
java.lang.Object
io.varhttp.UndertowWebSocket
- All Implemented Interfaces:
 VarWebSocket
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidonReceive(Consumer<VarWebSocketMessage> messageConsumer) voidreceive(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedTextMessage message) voidsend(VarWebSocketMessage message)  
- 
Constructor Details
- 
UndertowWebSocket
public UndertowWebSocket(io.undertow.websockets.core.WebSocketChannel channel)  
 - 
 - 
Method Details
- 
receive
public void receive(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedTextMessage message)  - 
send
- Specified by:
 sendin interfaceVarWebSocket
 - 
onReceive
- Specified by:
 onReceivein interfaceVarWebSocket
 - 
close
- Specified by:
 closein interfaceVarWebSocket- Throws:
 IOException
 
 -