public abstract class IndicationWithMonitoring extends IndicationWithResponse
signal with additional support for remote progress monitoring.NO_TIMEOUT| Constructor and Description |
|---|
IndicationWithMonitoring(SignalProtocol<?> protocol,
java.lang.Enum<?> literal) |
IndicationWithMonitoring(SignalProtocol<?> protocol,
short signalID) |
IndicationWithMonitoring(SignalProtocol<?> protocol,
short id,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(BufferInputStream in,
BufferOutputStream out) |
protected int |
getIndicatingWorkPercent() |
protected java.util.concurrent.ExecutorService |
getMonitoringExecutorService() |
protected void |
indicating(ExtendedDataInputStream in) |
protected abstract void |
indicating(ExtendedDataInputStream in,
OMMonitor monitor) |
protected void |
responding(ExtendedDataOutputStream out)
Important Note: The response must not be empty, i.e.
|
protected abstract void |
responding(ExtendedDataOutputStream out,
OMMonitor monitor) |
closeChannelAfterException, getExceptionMessagecloseChannelAfterMe, closeInputStreamAfterMe, closeOutputStreamAfterMe, finishInputStream, finishOutputStream, flush, getAdditionalInfo, getBufferInputStream, getBufferOutputStream, getCorrelationID, getCurrentInputStream, getCurrentOutputStream, getID, getName, getProtocol, run, toString, wrapInputStream, wrapOutputStreampublic IndicationWithMonitoring(SignalProtocol<?> protocol, short id, java.lang.String name)
public IndicationWithMonitoring(SignalProtocol<?> protocol, short signalID)
public IndicationWithMonitoring(SignalProtocol<?> protocol, java.lang.Enum<?> literal)
protected void execute(BufferInputStream in, BufferOutputStream out) throws java.lang.Exception
execute in class IndicationWithResponsejava.lang.Exceptionprotected final void indicating(ExtendedDataInputStream in) throws java.lang.Exception
indicating in class IndicationWithResponsejava.lang.Exceptionprotected final void responding(ExtendedDataOutputStream out) throws java.lang.Exception
IndicationWithResponseboolean. Otherwise synchronization problems will result!responding in class IndicationWithResponsejava.lang.Exceptionprotected abstract void indicating(ExtendedDataInputStream in, OMMonitor monitor) throws java.lang.Exception
java.lang.Exceptionprotected abstract void responding(ExtendedDataOutputStream out, OMMonitor monitor) throws java.lang.Exception
java.lang.Exceptionprotected java.util.concurrent.ExecutorService getMonitoringExecutorService()
protected int getIndicatingWorkPercent()
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html