|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
ctf.evaluation.simulator.CLI
public class CLI
A command-line client for a CTF simulator
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
(package private) Connection |
connection
Connection to the simulator |
(package private) Log |
out
Where output is logged |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
CLI(java.lang.String host,
java.lang.String team,
Side side)
Constructor |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Main entry point |
protected void |
placeFlag(Point flag)
|
protected void |
placeTree(Point tree)
|
protected void |
sendCommand(java.lang.String command)
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
Log out
Connection connection
Constructor Detail |
---|
public CLI(java.lang.String host, java.lang.String team, Side side) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
protected void sendCommand(java.lang.String command) throws java.io.IOException, NetworkException
java.io.IOException
NetworkException
protected void placeTree(Point tree) throws java.io.IOException, NetworkException
java.io.IOException
NetworkException
protected void placeFlag(Point flag) throws java.io.IOException, NetworkException
java.io.IOException
NetworkException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |