Interface WebsocketMsgHandler
- All Known Implementing Classes:
RouterEngine
public interface WebsocketMsgHandler
Interface to receive websocket messages.
- Since:
- 1.0
- Version:
- 2022-08-30
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onReceiveFromRemote
(WebsocketConnection conn, String msg) Called when a message is received from the remote host.
-
Method Details
-
onReceiveFromRemote
Called when a message is received from the remote host.- Parameters:
conn
- the connection the message was received onmsg
- the message- Throws:
Exception
- if there is any error
-