namespace Renci.SshNet.Common
{
    /// 
    /// Provides data for  event.
    /// 
    internal class ChannelOpenConfirmedEventArgs : ChannelEventArgs
    {
        /// 
        /// Initializes a new instance of the  class.
        /// 
        /// The remote channel number.
        /// The initial window size.
        /// The maximum packet size.
        public ChannelOpenConfirmedEventArgs(uint remoteChannelNumber, uint initialWindowSize, uint maximumPacketSize)
            : base(remoteChannelNumber)
        {
            InitialWindowSize = initialWindowSize;
            MaximumPacketSize = maximumPacketSize;
        }
        /// 
        /// Gets the initial size of the window.
        /// 
        /// 
        /// The initial size of the window.
        /// 
        public uint InitialWindowSize { get; private set; }
        /// 
        /// Gets the maximum size of the packet.
        /// 
        /// 
        /// The maximum size of the packet.
        /// 
        public uint MaximumPacketSize { get; private set; }
    }
}