public interface MachineControl
Modifier and Type | Method and Description |
---|---|
void |
close()
close the machine control
|
void |
flushCommands()
wait for all commands executed
|
void |
reset()
reset the machine processor, and clear all commands
|
void |
sendCommand(Command command)
send a command
|
void |
setMachineControlListener(MachineControlListener listener)
define the listener for machine control
|
void setMachineControlListener(MachineControlListener listener)
listener
- void sendCommand(Command command) throws java.lang.Exception
command
- java.lang.Exception
void close() throws java.lang.Exception
java.lang.Exception
void flushCommands() throws java.lang.Exception
java.lang.Exception
void reset() throws java.lang.Exception
java.lang.Exception