/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ using System; using System.Collections.Generic; using System.Text; namespace Amazon.Glacier.Transfer { /// /// Common options used for download methods. /// public class DownloadOptions : CommonOptions { // Sleep time between job polling. const double DEFAULT_POLLING_INTERVAL = 1; /// /// Default constructor /// public DownloadOptions() { PollingInterval = DEFAULT_POLLING_INTERVAL; } /// /// The polling interval in minutes for reading messages from the SQS queue. /// public double PollingInterval { get; set; } /// /// The delegate callback to track the progress of the download. /// public EventHandler StreamTransferProgress { get; set; } } }