Class IndicationWithMonitoring

All Implemented Interfaces:
Runnable
Direct Known Subclasses:
AuthenticationIndication, ConfirmationIndication

public abstract class IndicationWithMonitoring extends IndicationWithResponse
Represents the receiver side of a two-way signal with additional support for remote progress monitoring.
Since:
2.0
Author:
Eike Stepper
  • Constructor Details

    • IndicationWithMonitoring

      public IndicationWithMonitoring(SignalProtocol<?> protocol, short id, String name)
      Since:
      2.0
    • IndicationWithMonitoring

      public IndicationWithMonitoring(SignalProtocol<?> protocol, short signalID)
      Since:
      2.0
    • IndicationWithMonitoring

      public IndicationWithMonitoring(SignalProtocol<?> protocol, Enum<?> literal)
      Since:
      2.0
  • Method Details

    • indicating

      protected final void indicating(org.eclipse.net4j.util.io.ExtendedDataInputStream in) throws Exception
      Specified by:
      indicating in class IndicationWithResponse
      Throws:
      Exception
    • responding

      protected final void responding(org.eclipse.net4j.util.io.ExtendedDataOutputStream out) throws Exception
      Description copied from class: IndicationWithResponse
      Important Note: The response must not be empty, i.e. the stream must be used at least to write a boolean. Otherwise synchronization problems will result!
      Specified by:
      responding in class IndicationWithResponse
      Throws:
      Exception
    • indicating

      protected abstract void indicating(org.eclipse.net4j.util.io.ExtendedDataInputStream in, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) throws Exception
      Throws:
      Exception
    • responding

      protected abstract void responding(org.eclipse.net4j.util.io.ExtendedDataOutputStream out, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) throws Exception
      Throws:
      Exception
    • getIndicatingWorkPercent

      protected int getIndicatingWorkPercent()
    • getRespondingWorkPercent

      protected final int getRespondingWorkPercent()
      Since:
      4.13
    • getMonitoringExecutorService

      @Deprecated protected ExecutorService getMonitoringExecutorService()
      Deprecated.
      As of 4.13 not used anymore.
      Since:
      2.0