Interface WebsocketMsgHandler

All Known Implementing Classes:
RouterEngine

public interface WebsocketMsgHandler
Interface to receive websocket messages.
Since:
1.0
Version:
2022-08-30
  • Method Details

    • onReceiveFromRemote

      void onReceiveFromRemote(WebsocketConnection conn, String msg) throws Exception
      Called when a message is received from the remote host.
      Parameters:
      conn - the connection the message was received on
      msg - the message
      Throws:
      Exception - if there is any error