Interface OperationMessageHandler


public interface OperationMessageHandler
An operation message handler for handling progress reports.
Author:
David M. Lloyd
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    A noop operation message handler, which discards all received messages.
    An operation message handler which logs to the current system log.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleReport(MessageSeverity severity, String message)
    Handle an operation progress report.
  • Field Details

    • logging

      static final OperationMessageHandler logging
      An operation message handler which logs to the current system log.
    • DISCARD

      static final OperationMessageHandler DISCARD
      A noop operation message handler, which discards all received messages.
  • Method Details

    • handleReport

      void handleReport(MessageSeverity severity, String message)
      Handle an operation progress report.
      Parameters:
      severity - the severity of the message
      message - the message