- public NetconfClientSessionNegotiatorFactory(Timer timer, Optional<String> additionalHeader) {
- this.timer = timer;
- this.additionalHeader = additionalHeader;
+ private static final String START_EXI_MESSAGE_ID = "default-start-exi";
+
+ private final Optional<NetconfHelloMessageAdditionalHeader> additionalHeader;
+ private final long connectionTimeoutMillis;
+ private final Timer timer;
+ private final EXIOptions options;
+
+ public NetconfClientSessionNegotiatorFactory(Timer timer,
+ Optional<NetconfHelloMessageAdditionalHeader> additionalHeader,
+ long connectionTimeoutMillis) {
+ this(timer, additionalHeader, connectionTimeoutMillis, DEFAULT_OPTIONS);