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.Exceptionvoid close()
throws java.lang.Exception
java.lang.Exceptionvoid flushCommands()
throws java.lang.Exception
java.lang.Exceptionvoid reset()
throws java.lang.Exception
java.lang.Exception