public abstract class AbstractContinuousCommand extends Object implements ContinuousCommand, Runnable
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractContinuousCommand.State |
| Modifier and Type | Field and Description |
|---|---|
protected FolderItemFactory |
itemFactory |
| Constructor and Description |
|---|
AbstractContinuousCommand(String id,
ProcessConfiguration processConfiguration,
int restartDelay,
int maxInputBuffer,
Splitter splitter) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
handleStdLine(String line) |
protected void |
processFailed(Throwable e) |
protected void |
processStarted(Process process) |
void |
run() |
void |
setCurrentState(AbstractContinuousCommand.State state) |
void |
start(Hive hive,
FolderCommon parentFolder) |
void |
stop() |
protected FolderItemFactory itemFactory
public AbstractContinuousCommand(String id, ProcessConfiguration processConfiguration, int restartDelay, int maxInputBuffer, Splitter splitter)
public void start(Hive hive, FolderCommon parentFolder)
start in interface ContinuousCommandpublic void stop()
stop in interface ContinuousCommandprotected void processFailed(Throwable e)
protected void processStarted(Process process)
protected abstract void handleStdLine(String line)
public void setCurrentState(AbstractContinuousCommand.State state)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.