Package org.eclipse.net4j.signal
Klasse RequestWithConfirmation<RESULT>
java.lang.Object
org.eclipse.net4j.signal.Signal
org.eclipse.net4j.signal.SignalActor
org.eclipse.net4j.signal.RequestWithConfirmation<RESULT>
- Alle implementierten Schnittstellen:
Runnable
,org.eclipse.net4j.util.container.IManagedContainerProvider
- Bekannte direkte Unterklassen:
EntityRequest
,RequestWithMonitoring
Represents the sender 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
KonstruktorenKonstruktorBeschreibungRequestWithConfirmation
(SignalProtocol<?> protocol, short signalID) RequestWithConfirmation
(SignalProtocol<?> protocol, short id, String name) RequestWithConfirmation
(SignalProtocol<?> protocol, Enum<?> literal) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected abstract RESULT
confirming
(org.eclipse.net4j.util.io.ExtendedDataInputStream in) Important Note: The confirmation must not be empty, i.e.protected ExecutorService
protected void
protected abstract void
requesting
(org.eclipse.net4j.util.io.ExtendedDataOutputStream out) send()
send
(long timeout) Von Klasse geerbte Methoden org.eclipse.net4j.signal.SignalActor
execute
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
-
RequestWithConfirmation
- Seit:
- 2.0
-
RequestWithConfirmation
- Seit:
- 2.0
-
RequestWithConfirmation
- Seit:
- 2.0
-
-
Methodendetails
-
sendAsync
- Seit:
- 2.0
-
send
- Löst aus:
Exception
RemoteException
- Seit:
- 2.0
-
send
- Löst aus:
Exception
RemoteException
- Seit:
- 2.0
-
getAsyncExecutorService
- Seit:
- 2.0
-
requesting
protected abstract void requesting(org.eclipse.net4j.util.io.ExtendedDataOutputStream out) throws Exception - Löst aus:
Exception
-
confirming
protected abstract RESULT confirming(org.eclipse.net4j.util.io.ExtendedDataInputStream in) throws Exception Important Note: The confirmation must not be empty, i.e. the stream must be used at least to read aboolean
. Otherwise synchronization problems will result!- Löst aus:
Exception
-
onRemoteException
- Seit:
- 4.15
-