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

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

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