Пример #1
0
 protected void InitListStore(RemoteSystem except = null)
 {
     foreach (RemoteSystem system in systemList) {
         if (except != null && except.GetName () == system.GetName ())
             continue;
         InsertSystem (system);
     }
 }
Пример #2
0
 public RemoteSystem(RemoteSystem info)
 {
     this.Name = info.GetName ();
     this.Host = info.GetHost ();
     this.GatewayName = info.GetGatewayName ();
     this.IsGateway = info.GetIsGateway ();
     this.User = info.GetUser ();
     this.Port = info.GetPort ();
     this.Protocol = info.GetProtocol ();
     this.AuthType = info.GetAuthType ();
     this.AuthKey = info.GetAuthKey ();
 }
Пример #3
0
 private void InsertSystem(RemoteSystem _system)
 {
     var connState = (_system.IsConnected () ? Connected : Disconnected);
     systemListStore.AppendValues (_system.GetName (), _system.GetHost (), connState);
 }