Class IndicationWithMonitoring

    • Constructor Detail

      • IndicationWithMonitoring

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

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

        public IndicationWithMonitoring​(SignalProtocol<?> protocol,
                                        java.lang.Enum<?> literal)
        Since:
        2.0
    • Method Detail

      • indicating

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

        protected final void responding​(org.eclipse.net4j.util.io.ExtendedDataOutputStream out)
                                 throws java.lang.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:
        java.lang.Exception
      • indicating

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

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

        protected java.util.concurrent.ExecutorService getMonitoringExecutorService()
        Since:
        2.0
      • getIndicatingWorkPercent

        protected int getIndicatingWorkPercent()