public class Display extends GtpEngine implements LiveGfx.Listener
Constructor and Description |
---|
Display(java.lang.String program,
boolean verbose) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
cmdForward(GtpCommand cmd) |
void |
cmdName(GtpCommand cmd) |
void |
cmdQuit(GtpCommand cmd) |
void |
handleCommand(GtpCommand cmd)
Handle command.
|
void |
interruptCommand()
Callback for interrupting commands.
|
void |
showLiveGfx(java.lang.String text) |
cmdKnownCommand, cmdListCommands, cmdProtocolVersion, cmdUnknown, cmdVersion, isInterrupted, isRegistered, log, mainLoop, parsePointArgument, parsePointListArgument, printInvalidResponse, register, respond, setName, setQuit, setVersion, unregister
public Display(java.lang.String program, boolean verbose) throws java.lang.Exception
java.lang.Exception
public void close()
public void cmdForward(GtpCommand cmd) throws GtpError
GtpError
public void cmdName(GtpCommand cmd)
public void cmdQuit(GtpCommand cmd) throws GtpError
public void handleCommand(GtpCommand cmd) throws GtpError
GtpEngine
handleCommand
in class GtpEngine
GtpError
public void interruptCommand()
GtpEngine
interruptCommand
in class GtpEngine
public void showLiveGfx(java.lang.String text)
showLiveGfx
in interface LiveGfx.Listener