code: protected SchedulerServer getServer(
        Config runtime, IScheduler scheduler, int port) throws IOException {
  
      // create an instance of the server using scheduler class and port
      return new SchedulerServer(runtime, scheduler, port);
    }
docs: Get the http server for receiving scheduler requests
  
  @param runtime the runtime configuration
  @param scheduler an instance of the scheduler
  @param port the port for scheduler to listen on
  @return an instance of the http server