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