< Summary

Information
Class: Renci.SshNet.Messages.Connection.ChannelSuccessMessage
Assembly: Renci.SshNet
File(s): \home\appveyor\projects\ssh-net\src\Renci.SshNet\Messages\Connection\ChannelSuccessMessage.cs
Line coverage
100%
Covered lines: 9
Uncovered lines: 0
Coverable lines: 9
Total lines: 30
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
.ctor()100%1100%
.ctor(...)100%1100%
Process(...)100%1100%

File(s)

\home\appveyor\projects\ssh-net\src\Renci.SshNet\Messages\Connection\ChannelSuccessMessage.cs

#LineLine coverage
 1namespace Renci.SshNet.Messages.Connection
 2{
 3    /// <summary>
 4    /// Represents SSH_MSG_CHANNEL_SUCCESS message.
 5    /// </summary>
 6    [Message("SSH_MSG_CHANNEL_SUCCESS", 99)]
 7    public class ChannelSuccessMessage : ChannelMessage
 8    {
 9        /// <summary>
 10        /// Initializes a new instance of the <see cref="ChannelSuccessMessage"/> class.
 11        /// </summary>
 170612        public ChannelSuccessMessage()
 170613        {
 170614        }
 15
 16        /// <summary>
 17        /// Initializes a new instance of the <see cref="ChannelSuccessMessage"/> class.
 18        /// </summary>
 19        /// <param name="localChannelNumber">The local channel number.</param>
 20        public ChannelSuccessMessage(uint localChannelNumber)
 621            : base(localChannelNumber)
 622        {
 623        }
 24
 25        internal override void Process(Session session)
 170626        {
 170627            session.OnChannelSuccessReceived(this);
 170628        }
 29    }
 30}