cz.cuni.amis.pogamut.udk.utils
Class UCCWrapper.ScannerSink
java.lang.Object
java.lang.Thread
cz.cuni.amis.pogamut.udk.utils.UCCWrapper.StreamSink
cz.cuni.amis.pogamut.udk.utils.UCCWrapper.ScannerSink
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- UCCWrapper
public class UCCWrapper.ScannerSink
- extends UCCWrapper.StreamSink
Scanns the output of UCC for some specific srings (Ports bounded. START MATCH).
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, 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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
exception
public UCCStartException exception
- Exception that ended the startig. Should be checked after the latch is raised.
serverStartedLatch
public CountDownLatch serverStartedLatch
mapChangedLatch
public CountDownLatch mapChangedLatch
controlPort
public int controlPort
botsPort
public int botsPort
UCCWrapper.ScannerSink
public UCCWrapper.ScannerSink(InputStream is)
awaitGameStart
public CountDownLatch awaitGameStart()
handleInput
protected void handleInput(String str)
- Overrides:
handleInput
in class UCCWrapper.StreamSink
raiseServerStartedLatch
protected void raiseServerStartedLatch()
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.