Interface WebSocketChannelEvents


public interface WebSocketChannelEvents
WebSocketChannelEvents callback interface
  • Method Details

    • onWebSocketOpen

      void onWebSocketOpen()
      Fire on websocket connection is open
    • onWebSocketMessage

      void onWebSocketMessage(WSMessage wsMessage)
      Fire on websocket message received
      Parameters:
      wsMessage -
    • onWebSocketClose

      void onWebSocketClose(int code)
      Fire on websocket connection close
      Parameters:
      code -
    • onWebSocketError

      void onWebSocketError(String description)
      Fire on websocket communication error
      Parameters:
      description -