java.lang.Object
net.chesstango.goyeneche.requests.ReqGo
All Implemented Interfaces:
UCIRequest, UCICommand
Direct Known Subclasses:
ReqGoDepth, ReqGoFast, ReqGoInfinite, ReqGoTime

public abstract class ReqGo extends Object implements UCIRequest
Author:
Mauricio Coria
  • Constructor Details

    • ReqGo

      public ReqGo()
  • Method Details

    • execute

      public abstract void execute(ReqGoExecutor reqGoExecutor)
      Executes the specific behavior of this `ReqGo` request based on the provided executor.

      This method delegates the implementation-specific details of the `go` command to the given ReqGoExecutor, enabling flexibility in handling variations of the `ReqGo` command.

      Parameters:
      reqGoExecutor - The executor responsible for processing the `ReqGo` command.
    • execute

      public final void execute(UCIEngine executor)
      Description copied from interface: UCIRequest
      Executes the request using the provided UCIEngine instance.
      Specified by:
      execute in interface UCIRequest
      Parameters:
      executor - The UCIEngine instance that will execute the request.