public abstract class IndicationWithMonitoring extends IndicationWithResponse
signal
with additional support for remote progress monitoring.NO_TIMEOUT
Constructor and Description |
---|
IndicationWithMonitoring(SignalProtocol<?> protocol,
Enum<?> literal) |
IndicationWithMonitoring(SignalProtocol<?> protocol,
short signalID) |
IndicationWithMonitoring(SignalProtocol<?> protocol,
short id,
String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(BufferInputStream in,
BufferOutputStream out) |
protected int |
getIndicatingWorkPercent() |
protected 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, getExceptionMessage
closeChannelAfterMe, closeInputStreamAfterMe, closeOutputStreamAfterMe, finishInputStream, finishOutputStream, flush, getAdditionalInfo, getBufferInputStream, getBufferOutputStream, getCorrelationID, getCurrentInputStream, getCurrentOutputStream, getID, getName, getProtocol, run, toString, wrapInputStream, wrapOutputStream
public IndicationWithMonitoring(SignalProtocol<?> protocol, short id, String name)
public IndicationWithMonitoring(SignalProtocol<?> protocol, short signalID)
public IndicationWithMonitoring(SignalProtocol<?> protocol, Enum<?> literal)
protected void execute(BufferInputStream in, BufferOutputStream out) throws Exception
execute
in class IndicationWithResponse
Exception
protected final void indicating(ExtendedDataInputStream in) throws Exception
indicating
in class IndicationWithResponse
Exception
protected final void responding(ExtendedDataOutputStream out) throws Exception
IndicationWithResponse
boolean
. Otherwise synchronization problems will result!responding
in class IndicationWithResponse
Exception
protected abstract void indicating(ExtendedDataInputStream in, OMMonitor monitor) throws Exception
Exception
protected abstract void responding(ExtendedDataOutputStream out, OMMonitor monitor) throws Exception
Exception
protected ExecutorService getMonitoringExecutorService()
protected int getIndicatingWorkPercent()
Copyright (c) 2014 Eike Stepper (Berlin, 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