Package org.eclipse.net4j.signal
Klasse IndicationWithResponse
java.lang.Object
org.eclipse.net4j.signal.Signal
org.eclipse.net4j.signal.SignalReactor
org.eclipse.net4j.signal.IndicationWithResponse
- Alle implementierten Schnittstellen:
Runnable
,org.eclipse.net4j.util.container.IManagedContainerProvider
- Bekannte direkte Unterklassen:
EntityIndication
,IndicationWithMonitoring
Represents the receiver side of a two-way
signal
, i.e., one with a response.- Autor:
- Eike Stepper
-
Feldübersicht
Von Klasse geerbte Felder org.eclipse.net4j.signal.Signal
NO_TIMEOUT
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungIndicationWithResponse
(SignalProtocol<?> protocol, short signalID) IndicationWithResponse
(SignalProtocol<?> protocol, short id, String name) IndicationWithResponse
(SignalProtocol<?> protocol, Enum<?> literal) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected boolean
protected void
execute
(BufferInputStream in, BufferOutputStream out) protected String
protected abstract void
indicating
(org.eclipse.net4j.util.io.ExtendedDataInputStream in) protected abstract void
responding
(org.eclipse.net4j.util.io.ExtendedDataOutputStream out) Important Note: The response must not be empty, i.e.Von Klasse geerbte Methoden org.eclipse.net4j.signal.SignalReactor
createMonitor, monitor
Von Klasse geerbte Methoden org.eclipse.net4j.signal.Signal
closeChannelAfterMe, closeInputStreamAfterMe, closeOutputStreamAfterMe, finishInputStream, finishOutputStream, flush, getAdditionalInfo, getBufferInputStream, getBufferOutputStream, getContainer, getCorrelationID, getCurrentInputStream, getCurrentOutputStream, getID, getName, getProtocol, handleRunException, run, toString, toString, wrapInputStream, wrapOutputStream
-
Konstruktordetails
-
IndicationWithResponse
- Seit:
- 2.0
-
IndicationWithResponse
- Seit:
- 2.0
-
IndicationWithResponse
- Seit:
- 2.0
-
-
Methodendetails
-
closeChannelAfterException
protected boolean closeChannelAfterException()- Seit:
- 4.4
-
getExceptionMessage
- Seit:
- 2.0
-
execute
-
indicating
protected abstract void indicating(org.eclipse.net4j.util.io.ExtendedDataInputStream in) throws Exception - Löst aus:
Exception
-
responding
protected abstract void responding(org.eclipse.net4j.util.io.ExtendedDataOutputStream out) throws Exception Important Note: The response must not be empty, i.e. the stream must be used at least to write aboolean
. Otherwise synchronization problems will result!- Löst aus:
Exception
-