Improve NETCONF encoding performance 80/5380/3
authorRobert Varga <rovarga@cisco.com>
Sat, 15 Feb 2014 17:24:21 +0000 (18:24 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 18 Feb 2014 11:08:12 +0000 (11:08 +0000)
commit81387f0ae5898b196a54493f9bf4305993f39d1c
treedc762d00ad68c28ec038fd2f3e5f5fea5ae6d646
parent6958a923b6da4fb9e74c4050f8d38a7360e03f6d
Improve NETCONF encoding performance

This changes the protocol encoder such that it is piped directly into
the output buffer rather than constructing intermediate buffers and
strings.

Change-Id: I4938b2fd72b2321d21617c4e9c8a4d491778b657
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/handler/NetconfHelloMessageToXMLEncoder.java
opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/handler/NetconfMessageToXMLEncoder.java