Interface DMMonitorListener


  • public interface DMMonitorListener
    Defines a listener for operation progress.
    Author:
    Giancarlo Panichi
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void accepted()
      Called when the operation is starting.
      void cancelled()
      Called when there is a progress for the operation.
      void complete​(double percentage)
      Called when the operation is complete
      void failed​(String message, Exception exception)
      Called when the operation is failed
      void running​(double percentage)
      Called when the operation is running
    • Method Detail

      • accepted

        void accepted()
        Called when the operation is starting.
      • cancelled

        void cancelled()
        Called when there is a progress for the operation.
      • complete

        void complete​(double percentage)
        Called when the operation is complete
        Parameters:
        percentage - percentage
      • failed

        void failed​(String message,
                    Exception exception)
        Called when the operation is failed
        Parameters:
        message - message
        exception - exception
      • running

        void running​(double percentage)
        Called when the operation is running
        Parameters:
        percentage - percentage