Package org.eclipse.net4j.signal
Klasse RequestWithMonitoring<RESULT>
java.lang.Object
org.eclipse.net4j.signal.Signal
org.eclipse.net4j.signal.SignalActor
org.eclipse.net4j.signal.RequestWithConfirmation<RESULT>
org.eclipse.net4j.signal.RequestWithMonitoring<RESULT>
- Alle implementierten Schnittstellen:
Runnable
,org.eclipse.net4j.util.container.IManagedContainerProvider
- Bekannte direkte Unterklassen:
AuthenticationRequest
,ConfirmationRequest
Represents the sender side of a two-way
signal
with additional support for remote progress monitoring.- Seit:
- 2.0
- Autor:
- Eike Stepper
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final long
static final int
static final int
Von Klasse geerbte Felder org.eclipse.net4j.signal.Signal
NO_TIMEOUT
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungRequestWithMonitoring
(SignalProtocol<?> protocol, short signalID) RequestWithMonitoring
(SignalProtocol<?> protocol, short id, String name) RequestWithMonitoring
(SignalProtocol<?> protocol, Enum<?> literal) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected final RESULT
confirming
(org.eclipse.net4j.util.io.ExtendedDataInputStream in) Important Note: The confirmation must not be empty, i.e.protected abstract RESULT
confirming
(org.eclipse.net4j.util.io.ExtendedDataInputStream in, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) Important Note: The confirmation must not be empty, i.e.protected ExecutorService
protected long
protected int
protected int
protected int
protected int
protected final void
requesting
(org.eclipse.net4j.util.io.ExtendedDataOutputStream out) protected abstract void
requesting
(org.eclipse.net4j.util.io.ExtendedDataOutputStream out, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) send()
send
(long timeout) send
(long timeout, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) send
(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) sendAsync
(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) Von Klasse geerbte Methoden org.eclipse.net4j.signal.RequestWithConfirmation
getAsyncExecutorService, onRemoteException
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
-
Felddetails
-
DEFAULT_CANCELATION_POLL_INTERVAL
public static final long DEFAULT_CANCELATION_POLL_INTERVAL- Seit:
- 2.0
- Siehe auch:
-
DEFAULT_MONITOR_PROGRESS_SECONDS
public static final int DEFAULT_MONITOR_PROGRESS_SECONDS- Seit:
- 2.0
- Siehe auch:
-
DEFAULT_MONITOR_TIMEOUT_SECONDS
public static final int DEFAULT_MONITOR_TIMEOUT_SECONDS- Seit:
- 2.0
- Siehe auch:
-
-
Konstruktordetails
-
RequestWithMonitoring
- Seit:
- 2.0
-
RequestWithMonitoring
- Seit:
- 2.0
-
RequestWithMonitoring
- Seit:
- 2.0
-
-
Methodendetails
-
sendAsync
- Setzt außer Kraft:
sendAsync
in KlasseRequestWithConfirmation<RESULT>
-
sendAsync
-
send
- Setzt außer Kraft:
send
in KlasseRequestWithConfirmation<RESULT>
- Löst aus:
Exception
RemoteException
-
send
- Setzt außer Kraft:
send
in KlasseRequestWithConfirmation<RESULT>
- Löst aus:
Exception
RemoteException
-
send
public RESULT send(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) throws Exception, RemoteException - Löst aus:
Exception
RemoteException
-
send
public RESULT send(long timeout, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) throws Exception, RemoteException - Löst aus:
Exception
RemoteException
-
requesting
protected final void requesting(org.eclipse.net4j.util.io.ExtendedDataOutputStream out) throws Exception - Angegeben von:
requesting
in KlasseRequestWithConfirmation<RESULT>
- Löst aus:
Exception
-
confirming
protected final RESULT confirming(org.eclipse.net4j.util.io.ExtendedDataInputStream in) throws Exception Beschreibung aus Klasse kopiert:RequestWithConfirmation
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!- Angegeben von:
confirming
in KlasseRequestWithConfirmation<RESULT>
- Löst aus:
Exception
-
requesting
protected abstract void requesting(org.eclipse.net4j.util.io.ExtendedDataOutputStream out, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) throws Exception - Löst aus:
Exception
-
confirming
protected abstract RESULT confirming(org.eclipse.net4j.util.io.ExtendedDataInputStream in, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) 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
-
getCancelationExecutorService
- Seit:
- 2.0
-
getCancelationPollInterval
protected long getCancelationPollInterval()- Seit:
- 2.0
-
getMonitorProgressSeconds
protected int getMonitorProgressSeconds()- Seit:
- 2.0
-
getMonitorTimeoutSeconds
protected int getMonitorTimeoutSeconds()- Seit:
- 2.0
-
getRequestingWorkPercent
protected int getRequestingWorkPercent()- Seit:
- 2.0
-
getConfirmingWorkPercent
protected int getConfirmingWorkPercent()- Seit:
- 2.0
-