Interface WebsocketMsgHandler

All Known Implementing Classes:
RouterEngine

public interface WebsocketMsgHandler
Interface to receive websocket messages.
Since:
1
Version:
1
  • 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
      Since:
      1