public class MachineCommandStream
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
MachineCommandStream.StreamingProcessingListener |
Constructor and Description |
---|
MachineCommandStream(MachineControl machineControl,
PunchPlan punchPlan,
MachineCommandStream.StreamingProcessingListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
commandAck()
external signal for telling the previous command has been acknownledged
|
boolean |
isRunning()
return is the stream is processing the commands
|
void |
startStreamFrom(int index)
start sending the commands from index index
|
void |
stopStreaming()
Stop the stream
|
public MachineCommandStream(MachineControl machineControl, PunchPlan punchPlan, MachineCommandStream.StreamingProcessingListener listener) throws java.lang.Exception
java.lang.Exception
public void startStreamFrom(int index) throws java.lang.Exception
index
- java.lang.Exception
public void stopStreaming() throws java.lang.Exception
java.lang.Exception
public boolean isRunning()
public void commandAck()