Example #1
0
        public SSHConnection(liblinux.UnixSystem remoteSystem)
        {
            if (remoteSystem == null)
                throw new ArgumentNullException(nameof(remoteSystem));

            _remoteSystem = remoteSystem;
        }
Example #2
0
 internal void Clean()
 {
     if (_gdbserver != null)
     {
         _gdbserver.Stop();
         _gdbserver = null;
     }
     if (_remoteSystem != null)
     {
         _remoteSystem.Dispose();
         _remoteSystem = null;
     }
 }
Example #3
0
        public override void Close()
        {
            if (_gdbserver != null)
            {
                _gdbserver.Stop();
                _gdbserver = null;
            }

            if (_remoteSystem != null)
            {
                _remoteSystem.Dispose();
                _remoteSystem = null;
            }
        }
Example #4
0
 public Connection(liblinux.UnixSystem remoteSystem)
 {
     _remoteSystem = remoteSystem;
 }
Example #5
0
 public Connection(liblinux.UnixSystem remoteSystem)
 {
     _remoteSystem = remoteSystem;
 }