Package net.sf.colossus.webserver
Class RunGameInOwnJVM.NullDumper
java.lang.Object
net.sf.colossus.webserver.RunGameInOwnJVM.NullDumper
- All Implemented Interfaces:
Runnable
- Enclosing class:
- RunGameInOwnJVM
NullDumper is a dummy reader that just consumes all the output
produced by a Game's process - similar to /dev/null. That is needed
because we have to take care to read all what comes on the
Game's processes stdout and stderr, otherwise the game would block
at some point.
If the boolean argument toNull to constructor is false, it will
send the produced output to the log instead.
TODO rename to toLog instead. Should toLog be default nowadays that
there is not much output any more?
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary