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 longstatic final intstatic final intVon 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 RESULTconfirming(org.eclipse.net4j.util.io.ExtendedDataInputStream in) Important Note: The confirmation must not be empty, i.e.protected abstract RESULTconfirming(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 ExecutorServiceprotected longprotected intprotected intprotected intprotected intprotected final voidrequesting(org.eclipse.net4j.util.io.ExtendedDataOutputStream out) protected abstract voidrequesting(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, onRemoteExceptionVon Klasse geerbte Methoden org.eclipse.net4j.signal.SignalActor
executeVon 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:
sendAsyncin KlasseRequestWithConfirmation<RESULT>
-
sendAsync
-
send
- Setzt außer Kraft:
sendin KlasseRequestWithConfirmation<RESULT>- Löst aus:
ExceptionRemoteException
-
send
- Setzt außer Kraft:
sendin KlasseRequestWithConfirmation<RESULT>- Löst aus:
ExceptionRemoteException
-
send
public RESULT send(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) throws Exception, RemoteException - Löst aus:
ExceptionRemoteException
-
send
public RESULT send(long timeout, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) throws Exception, RemoteException - Löst aus:
ExceptionRemoteException
-
requesting
protected final void requesting(org.eclipse.net4j.util.io.ExtendedDataOutputStream out) throws Exception - Angegeben von:
requestingin KlasseRequestWithConfirmation<RESULT>- Löst aus:
Exception
-
confirming
protected final RESULT confirming(org.eclipse.net4j.util.io.ExtendedDataInputStream in) throws Exception Beschreibung aus Klasse kopiert:RequestWithConfirmationImportant 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:
confirmingin 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
-