public Context() { termBufferLength(Configuration.termBufferLength()); termBufferMaxLength(Configuration.termBufferLengthMax()); initialWindowLength(Configuration.initialWindowLength()); statusMessageTimeout(Configuration.statusMessageTimeout()); dataLossRate(Configuration.dataLossRate()); dataLossSeed(Configuration.dataLossSeed()); controlLossRate(Configuration.controlLossRate()); controlLossSeed(Configuration.controlLossSeed()); mtuLength(Configuration.MTU_LENGTH); eventConsumer = System.out::println; eventBufferLength = EventConfiguration.bufferLength(); warnIfDirectoriesExist = true; dirsDeleteOnStart(getBoolean(DIRS_DELETE_ON_START_PROP_NAME)); }