public NCC(Manager manager, LRM linkResourceManager, networkLibrary.transportClient client, MainWindow window) { this.manager = manager; this.network = client; ConnectionController = new CC(this.network, window); this.lrm = linkResourceManager; this.rc = new RC(manager, linkResourceManager, ConnectionController); }
public AdministrativeDomain(MainWindow window) { this.window = window; this.connection = window.links; manager = new Manager(); neighbours = new List<string>(); parents = new List<string>(); children = new List<string>(); requestsToAnswer = new Dictionary<string, string>(); toEstablish = new Dictionary<string, NetworkConnection>(); waitForAck = new Dictionary<string, string>(); }
public Head() { InitializeComponent(); domains = new List<MainWindow>(); string topology = SubNetwork.App.partialPathToTopology; for (int i = 0; i < SubNetwork.App.partialPathToConfigs.Length; i++) { string conf = SubNetwork.App.partialPathToConfigs[i]; if (conf != null && topology != null) { pathToConfig = @"" + conf; pathToTopology = @"" + topology; MainWindow wind = new MainWindow(pathToConfig, pathToTopology); domains.Add(wind); wind.Show(); } } }
public CC(networkLibrary.transportClient networkC, MainWindow wind) { this.network = networkC; this.wind = wind; }