Package org.eclipse.net4j.signal
Class IndicationWithMonitoring
- java.lang.Object
- 
- org.eclipse.net4j.signal.Signal
- 
- org.eclipse.net4j.signal.SignalReactor
- 
- org.eclipse.net4j.signal.IndicationWithResponse
- 
- org.eclipse.net4j.signal.IndicationWithMonitoring
 
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Runnable
 - Direct Known Subclasses:
- AuthenticationIndication,- ConfirmationIndication
 
 public abstract class IndicationWithMonitoring extends IndicationWithResponse Represents the receiver side of a two-waysignalwith additional support for remote progress monitoring.- Since:
- 2.0
- Author:
- Eike Stepper
 
- 
- 
Field Summary- 
Fields inherited from class org.eclipse.net4j.signal.SignalNO_TIMEOUT
 
- 
 - 
Constructor SummaryConstructors Constructor Description IndicationWithMonitoring(SignalProtocol<?> protocol, short signalID)IndicationWithMonitoring(SignalProtocol<?> protocol, short id, java.lang.String name)IndicationWithMonitoring(SignalProtocol<?> protocol, java.lang.Enum<?> literal)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected intgetIndicatingWorkPercent()protected java.util.concurrent.ExecutorServicegetMonitoringExecutorService()Deprecated.As of 4.13 not used anymore.protected intgetRespondingWorkPercent()protected voidindicating(org.eclipse.net4j.util.io.ExtendedDataInputStream in)protected abstract voidindicating(org.eclipse.net4j.util.io.ExtendedDataInputStream in, org.eclipse.net4j.util.om.monitor.OMMonitor monitor)protected voidresponding(org.eclipse.net4j.util.io.ExtendedDataOutputStream out)Important Note: The response must not be empty, i.e.protected abstract voidresponding(org.eclipse.net4j.util.io.ExtendedDataOutputStream out, org.eclipse.net4j.util.om.monitor.OMMonitor monitor)- 
Methods inherited from class org.eclipse.net4j.signal.IndicationWithResponsecloseChannelAfterException, execute, getExceptionMessage
 - 
Methods inherited from class org.eclipse.net4j.signal.SignalReactorcreateMonitor
 - 
Methods inherited from class org.eclipse.net4j.signal.SignalcloseChannelAfterMe, closeInputStreamAfterMe, closeOutputStreamAfterMe, finishInputStream, finishOutputStream, flush, getAdditionalInfo, getBufferInputStream, getBufferOutputStream, getCorrelationID, getCurrentInputStream, getCurrentOutputStream, getID, getName, getProtocol, run, toString, toString, wrapInputStream, wrapOutputStream
 
- 
 
- 
- 
- 
Constructor Detail- 
IndicationWithMonitoringpublic IndicationWithMonitoring(SignalProtocol<?> protocol, short id, java.lang.String name) - Since:
- 2.0
 
 - 
IndicationWithMonitoringpublic IndicationWithMonitoring(SignalProtocol<?> protocol, short signalID) - Since:
- 2.0
 
 - 
IndicationWithMonitoringpublic IndicationWithMonitoring(SignalProtocol<?> protocol, java.lang.Enum<?> literal) - Since:
- 2.0
 
 
- 
 - 
Method Detail- 
indicatingprotected final void indicating(org.eclipse.net4j.util.io.ExtendedDataInputStream in) throws java.lang.Exception- Specified by:
- indicatingin class- IndicationWithResponse
- Throws:
- java.lang.Exception
 
 - 
respondingprotected final void responding(org.eclipse.net4j.util.io.ExtendedDataOutputStream out) throws java.lang.ExceptionDescription copied from class:IndicationWithResponseImportant Note: The response must not be empty, i.e. the stream must be used at least to write aboolean. Otherwise synchronization problems will result!- Specified by:
- respondingin class- IndicationWithResponse
- Throws:
- java.lang.Exception
 
 - 
indicatingprotected 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
 
 - 
respondingprotected 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
 
 - 
getIndicatingWorkPercentprotected int getIndicatingWorkPercent() 
 - 
getRespondingWorkPercentprotected final int getRespondingWorkPercent() - Since:
- 4.13
 
 - 
getMonitoringExecutorService@Deprecated protected java.util.concurrent.ExecutorService getMonitoringExecutorService() Deprecated.As of 4.13 not used anymore.- Since:
- 2.0
 
 
- 
 
-