123456789101112131415 |
- using System;
- namespace FxSsh.Messages.Connection
- {
- public class SessionOpenMessage : ChannelOpenMessage
- {
- protected override void OnLoad(SshDataWorker reader)
- {
- base.OnLoad(reader);
- if (ChannelType != "session")
- throw new ArgumentException(string.Format("Channel type {0} is not valid.", ChannelType));
- }
- }
- }
|