diff options
author | Ganesh Chandrasekaran <ganesh.c@samsung.com> | 2018-08-31 08:57:24 +0900 |
---|---|---|
committer | Takamune Cho <tc012c@att.com> | 2018-09-05 23:19:27 +0000 |
commit | 16dc89fdfea1c6f72f10eb20586b16da79962aea (patch) | |
tree | 5d7f5e9f03dde039da07df28a1b61b1dc0576d7a /appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main | |
parent | 98cc619c1bb1cd59121bb862c8c48f4125319ba5 (diff) |
covered cases for NetconfAdaptor2
Issue-ID: APPC-1182
Change-Id: Ib3e96b5869ce95299cf6e83a6f25ad04f7373382
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
Diffstat (limited to 'appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main')
-rw-r--r-- | appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/internal/NetconfAdapter2.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/internal/NetconfAdapter2.java b/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/internal/NetconfAdapter2.java index 567a45a96..be286cd48 100644 --- a/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/internal/NetconfAdapter2.java +++ b/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/internal/NetconfAdapter2.java @@ -53,6 +53,19 @@ public class NetconfAdapter2 { } /** + * Constructor. + * + * @param in InputStream this instance will read netconf messages from + * @param out OutputStream this instance will write netconf messages to + * @throws IOException + */ + public NetconfAdapter2(PipedInputStream in, PipedOutputStream out) throws IOException { + this.in = in; + this.out = out; + + } + + /** * @return InputStream this instance will read netconf messages from. */ public InputStream getIn() { |