- All Superinterfaces:
UCICommand
- All Known Implementing Classes:
ReqGo,ReqGoDepth,ReqGoFast,ReqGoInfinite,ReqGoTime,ReqIsReady,ReqPosition,ReqQuit,ReqSetOption,ReqStop,ReqUci,ReqUciNewGame
The UCIRequest interface represents a command request sent to a chess engine
as part of the Universal Chess Interface (UCI) protocol. Implementations of this
interface encapsulate specific commands defined by the protocol and provide
the necessary information and functionality to process these commands.
Implementing classes must specify the type of request they represent and provide an implementation to execute their corresponding operation with a UCIEngine instance.
- Author:
- Mauricio Coria
-
Method Summary
Modifier and TypeMethodDescriptionvoidExecutes the request using the provided UCIEngine instance.static ReqGoInfinitego()static ReqGoDepthgoDepth(int depth) static ReqGoFastgoFast(int wTime, int wInc, int bTime, int bInc) static ReqGoTimegoTime(int time) static ReqIsReadyisready()static ReqPositionstatic ReqPositionstatic ReqQuitquit()static ReqSetOptionstatic ReqSetOptionstatic ReqStopstop()static ReqUciuci()static ReqUciNewGame
-
Method Details
-
execute
Executes the request using the provided UCIEngine instance.- Parameters:
executor- The UCIEngine instance that will execute the request.
-
uci
-
isready
-
ucinewgame
-
position
-
position
-
go
-
goDepth
-
goTime
-
goFast
-
quit
-
stop
-
setOption
-
setOption
-