Interface SubscriptionListener


  • public interface SubscriptionListener
    Callbacks for SessionManager. Either loaded or failed will be called once. If there is no response the request will fail after the configured request-timeout.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void failed()
      Called if there is an error before the subcription has been loaded.
      void loaded()
      Called once all data has been successfully received by the Liberator.
      void status​(int status)
      Called for subscription status messages
    • Method Detail

      • loaded

        void loaded()
        Called once all data has been successfully received by the Liberator.
      • failed

        void failed()
        Called if there is an error before the subcription has been loaded.
      • status

        void status​(int status)
        Called for subscription status messages
        Parameters:
        status - Set subscription status