Interface DataListener


  • public interface DataListener
    Incoming data listener.
    Author:
    Marek Potociar
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onComplete()
      Invoked when the data stream has dried out (or the connection has been closed).
      void onError()
      Invoked when there was an error while receiving streamed data.
      void onMessage​(Message message)
      Invoked when a new message data are available.
      void onStart()
      Invoked when the connection to the data stream has been established.
    • Method Detail

      • onStart

        void onStart()
        Invoked when the connection to the data stream has been established.
      • onComplete

        void onComplete()
        Invoked when the data stream has dried out (or the connection has been closed).
      • onError

        void onError()
        Invoked when there was an error while receiving streamed data.
      • onMessage

        void onMessage​(Message message)
        Invoked when a new message data are available.
        Parameters:
        message - new message data.