Interface MessageListener


  • public interface MessageListener
    Author:
    svenkubiak
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onError()
      Called when the WebSocket ran into an error
      void onMessage()
      Called when a new message is available/new messages are available
    • Method Detail

      • onMessage

        void onMessage()
        Called when a new message is available/new messages are available
      • onError

        void onError()
        Called when the WebSocket ran into an error