Class DicomImageBlackout.StatusNotificationHandler

java.lang.Object
com.pixelmed.display.DicomImageBlackout.StatusNotificationHandler
Direct Known Subclasses:
DicomCleaner.OurDicomImageBlackout.ApplicationStatusChangeEventNotificationHandler, DicomImageBlackout.DefaultStatusNotificationHandler
Enclosing class:
DicomImageBlackout

public abstract class DicomImageBlackout.StatusNotificationHandler extends Object

An abstract class for the user of to supply a callback notification method, supplied as an argument of the DicomImageBlackout() constructor.

  • Field Details

  • Constructor Details

    • StatusNotificationHandler

      protected StatusNotificationHandler()
  • Method Details

    • notify

      public abstract void notify(int status, String message, Throwable t)

      The callback method when status is updated.

      Parameters:
      status - a numeric status
      message - a description of the status, and in some cases, affected file names
      t - the exception that lead to the status notification, if caused by an exception, else null