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, unregisterpublic Display(java.lang.String program,
boolean verbose)
throws java.lang.Exception
java.lang.Exceptionpublic void close()
public void cmdForward(GtpCommand cmd) throws GtpError
GtpErrorpublic void cmdName(GtpCommand cmd)
public void cmdQuit(GtpCommand cmd) throws GtpError
public void handleCommand(GtpCommand cmd) throws GtpError
GtpEnginehandleCommand in class GtpEngineGtpErrorpublic void interruptCommand()
GtpEngineinterruptCommand in class GtpEnginepublic void showLiveGfx(java.lang.String text)
showLiveGfx in interface LiveGfx.Listener