chesspresso.engines
Class ChXBoardEngine

java.lang.Object
  |
  +--chesspresso.engines.ChXBoardEngine

public class ChXBoardEngine
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
Bernhard Seybold

Nested Class Summary
static interface ChXBoardEngine.AnalysisListener
           
static interface ChXBoardEngine.Listener
           
 
Constructor Summary
ChXBoardEngine(java.lang.String command, java.lang.String dir)
           
 
Method Summary
 void addListener(ChXBoardEngine.Listener listener)
           
 void analyze(ChXBoardEngine.AnalysisListener listener, boolean post, int periodicUpdateInterval)
           
 void doMove(Move move)
           
 java.lang.String getName()
           
 void init()
           
 void quit()
           
 void removeListener(ChXBoardEngine.Listener listener)
           
 void sendMessage(java.lang.String msg)
           
 void setHashSize(int hashSize)
           
 void setPosition(ImmutablePosition pos)
           
 void unanalyze()
           
 void undoMove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChXBoardEngine

public ChXBoardEngine(java.lang.String command,
                      java.lang.String dir)
               throws java.io.IOException
Method Detail

addListener

public void addListener(ChXBoardEngine.Listener listener)

removeListener

public void removeListener(ChXBoardEngine.Listener listener)

getName

public java.lang.String getName()

init

public void init()

doMove

public void doMove(Move move)

undoMove

public void undoMove()

analyze

public void analyze(ChXBoardEngine.AnalysisListener listener,
                    boolean post,
                    int periodicUpdateInterval)

unanalyze

public void unanalyze()

quit

public void quit()

setPosition

public void setPosition(ImmutablePosition pos)

setHashSize

public void setHashSize(int hashSize)

sendMessage

public void sendMessage(java.lang.String msg)