public class CommandQueueImpl extends Object implements CommandQueue
| Constructor and Description |
|---|
CommandQueueImpl(Hive hive,
String id,
int loopDelay) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCommand(SingleCommand command,
int period)
Add a command to the queue
|
void |
removeCommand(SingleCommand command)
Remove a command from the queue
|
protected void |
runOnce() |
void |
start(Hive hive,
FolderCommon baseFolder) |
void |
stop() |
public void addCommand(SingleCommand command, int period)
CommandQueueaddCommand in interface CommandQueuecommand - the command to addperiod - the min delay between executionpublic void removeCommand(SingleCommand command)
CommandQueueremoveCommand in interface CommandQueuepublic void start(Hive hive, FolderCommon baseFolder)
start in interface CommandQueuepublic void stop()
stop in interface CommandQueueprotected void runOnce()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.