Class InternalWebSocketHandler
- java.lang.Object
-
- org.syncany.operations.daemon.handlers.InternalWebSocketHandler
-
- All Implemented Interfaces:
io.undertow.websockets.WebSocketConnectionCallback
public class InternalWebSocketHandler extends java.lang.Object implements io.undertow.websockets.WebSocketConnectionCallback
InternalWebSocketHandler handles the web socket requests sent to the daemon.
-
-
Constructor Summary
Constructors Constructor Description InternalWebSocketHandler(WebServer daemonWebServer, java.lang.String certificateCommonName, WebServer.RequestFormatType requestFormatType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onConnect(io.undertow.websockets.spi.WebSocketHttpExchange exchange, io.undertow.websockets.core.WebSocketChannel channel)
-
-
-
Constructor Detail
-
InternalWebSocketHandler
public InternalWebSocketHandler(WebServer daemonWebServer, java.lang.String certificateCommonName, WebServer.RequestFormatType requestFormatType)
-
-
Method Detail
-
onConnect
public void onConnect(io.undertow.websockets.spi.WebSocketHttpExchange exchange, io.undertow.websockets.core.WebSocketChannel channel)
- Specified by:
onConnect
in interfaceio.undertow.websockets.WebSocketConnectionCallback
-
-