public RemoteTaskServer(IRemoteTaskServer server, TaskExecutorConfiguration configuration)
        {
            this.server = SimpleRemoteTaskServerFactory.Create(server);
            Configuration = configuration;
            clientController = SimpleClientControllerFactory.Create(server);
            setTempFolderPathStrategy = SetTempFolderPathStrategyFactory.Create(server);

            ShouldContinue = true;
        }
        public RemoteTaskServer(IRemoteTaskServer server, TaskExecutorConfiguration configuration)
        {
            this.server               = SimpleRemoteTaskServerFactory.Create(server);
            Configuration             = configuration;
            clientController          = SimpleClientControllerFactory.Create(server);
            setTempFolderPathStrategy = SetTempFolderPathStrategyFactory.Create(server);

            ShouldContinue = true;
        }