using System;
using System.Collections.Generic;
using Renci.SshNet.Common;
using System.IO;
namespace Renci.SshNet.Sftp
{
    /// 
    /// Encapsulates the results of an asynchronous directory synchronization operation.
    /// 
    public class SftpSynchronizeDirectoriesAsyncResult : AsyncResult>
    {
        /// 
        /// Gets the number of files read so far.
        /// 
        public int FilesRead { get; private set; }
        /// 
        /// Initializes a new instance of the  class.
        /// 
        /// The async callback.
        /// The state.
        public SftpSynchronizeDirectoriesAsyncResult(AsyncCallback asyncCallback, Object state)
            : base(asyncCallback, state)
        {
        }
        /// 
        /// Updates asynchronous operation status information.
        /// 
        /// The files read.
        internal void Update(int filesRead)
        {
            FilesRead = filesRead;
        }
    }
}