public void Load() { BatchProcessorServer.Server.Settings settings = BatchProcessorServer.Server.Settings.Load(BatchProcessorServer.Util.Paths.SETTINGS_FILE); Port = settings.Port; HeartbeatMs = settings.HeartbeatMs; }
public BatchProcessorState() { _settings = BatchProcessorServer.Server.Settings.Load(BatchProcessorServer.Util.Paths.SETTINGS_FILE); }