2 * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.netconf.util.osgi;
11 import java.net.InetSocketAddress;
13 final class NetconfConfigurationHolder {
15 private final InetSocketAddress tcpServerAddress;
16 private final InetSocketAddress sshServerAddress;
17 private final String privateKeyPath;
19 NetconfConfigurationHolder(InetSocketAddress tcpServerAddress, InetSocketAddress sshServerAddress, String privateKeyPath){
20 this.tcpServerAddress = tcpServerAddress;
21 this.sshServerAddress = sshServerAddress;
22 this.privateKeyPath = privateKeyPath;
25 String getPrivateKeyPath() {
26 return privateKeyPath;
29 InetSocketAddress getSshServerAddress() {
30 return sshServerAddress;
33 InetSocketAddress getTcpServerAddress() {
34 return tcpServerAddress;