public void Start() { ReceiverSettings receiverSettings = new ReceiverSettings(); receiverSettings.LoadFromFile(SETTINGS_FILE); DBBackendServer dbServer = new DBBackendServer(receiverSettings); dbServer.Start(); RelayServer relayServer = new RelayServer(receiverSettings, dbServer); relayServer.Start(); ReporterServer reporterServer = new ReporterServer(receiverSettings, relayServer); reporterServer.Start(); InteractiveConsole(relayServer, dbServer); }
public ReporterServer(ReceiverSettings settings, RelayServer relayServer) { this.settings = settings; this.relayServer = relayServer; }
public RelayServer(ReceiverSettings settings, DBBackendServer dbServer) { this.settings = settings; dbServer.SetData(localClients, remoteRelays); this.dbServer = dbServer; }
public DBBackendServer(ReceiverSettings settings) { this.settings = settings; }