예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ServerWrapper"/> class.
 /// </summary>
 /// <param name="testRunner">The test runner.</param>
 /// <param name="agentsTracker">The server connections tracker.</param>
 /// <param name="agents">The agents.</param>
 /// <param name="serverHost">The server host.</param>
 public ServerWrapper(
     Common.Server.Services.Server testRunner,
     AgentsTracker agentsTracker,
     AgentsCollection agents,
     ServerHost serverHost = null)
 {
     TestRunner = testRunner;
     this.agentsTracker = agentsTracker;
     this.agents = agents;
     ServerHost = serverHost;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ServerProgram"/> class.
 /// </summary>
 /// <param name="serverHost">The server host.</param>
 /// <param name="bootstrapperParameters">The bootstrapper parameters.</param>
 /// <param name="updatesMonitor">The updates monitor.</param>
 /// <param name="log">The log.</param>
 /// <param name="exceptionCatcher">The exception catcher.</param>
 public ServerProgram(ServerHost serverHost, BootstrapperParameters bootstrapperParameters,
                      UpdatesMonitor updatesMonitor, ILog log, ExceptionCatcher exceptionCatcher)
     : base(updatesMonitor, exceptionCatcher, log, bootstrapperParameters)
 {
     this.serverHost = serverHost;
 }