Package org.eclipse.net4j.signal
Class Indication
- java.lang.Object
-
- org.eclipse.net4j.signal.Signal
-
- org.eclipse.net4j.signal.SignalReactor
-
- org.eclipse.net4j.signal.Indication
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
AcknowledgeCompressedStringsIndication
,MonitorCanceledIndication
,MonitorProgressIndication
public abstract class Indication extends SignalReactor
Represents the receiver side of a one-waysignal
, i.e., one with no response.- Author:
- Eike Stepper
-
-
Field Summary
-
Fields inherited from class org.eclipse.net4j.signal.Signal
NO_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description Indication(SignalProtocol<?> protocol, short signalID)
Indication(SignalProtocol<?> protocol, short id, java.lang.String name)
Indication(SignalProtocol<?> protocol, java.lang.Enum<?> literal)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
execute(BufferInputStream in, BufferOutputStream out)
protected abstract void
indicating(org.eclipse.net4j.util.io.ExtendedDataInputStream in)
-
Methods inherited from class org.eclipse.net4j.signal.Signal
closeChannelAfterMe, closeInputStreamAfterMe, closeOutputStreamAfterMe, finishInputStream, finishOutputStream, flush, getAdditionalInfo, getBufferInputStream, getBufferOutputStream, getCorrelationID, getCurrentInputStream, getCurrentOutputStream, getID, getName, getProtocol, run, toString, wrapInputStream, wrapOutputStream
-
-
-
-
Constructor Detail
-
Indication
public Indication(SignalProtocol<?> protocol, short id, java.lang.String name)
- Since:
- 2.0
-
Indication
public Indication(SignalProtocol<?> protocol, short signalID)
- Since:
- 2.0
-
Indication
public Indication(SignalProtocol<?> protocol, java.lang.Enum<?> literal)
- Since:
- 2.0
-
-
Method Detail
-
execute
protected void execute(BufferInputStream in, BufferOutputStream out) throws java.lang.Exception
-
indicating
protected abstract void indicating(org.eclipse.net4j.util.io.ExtendedDataInputStream in) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-