public final class UCI extends Object implements Observer, Runnable, Closeable
Constructor and Description |
---|
UCI(UCIEngine engine,
InputStream in,
OutputStream out)
Constructs an instance to handle the UCI protocol.
|
public UCI(UCIEngine engine, InputStream in, OutputStream out)
engine
- The chess engine to run in UCI mode.in
- The input stream.out
- The output stream.public void update(Observable p1, Object p2)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2020. All rights reserved.