Separate out AbstractNormalizedNodeDataInput
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 17 Sep 2019 21:35:14 +0000 (23:35 +0200)
committerStephen Kitt <skitt@redhat.com>
Wed, 18 Sep 2019 08:47:05 +0000 (08:47 +0000)
commite12291dcaf74768ac3791ad541c7e410d495cf17
tree9a20d3f4bf52edbf0b58d5849a01ed8b65a02e50
parentcbdbad7700b553e2467974a4be145c71027cb8d0
Separate out AbstractNormalizedNodeDataInput

As we are going to introduce a streaming format for Magnesium, which
uses very different token set, it is convenient to have a common
base class which does not have conotations about what the tokens are.

We provide a baseline counterpart to AbstractNormalizedNodeDataOutput
and base AbstractLithiumDataInput on it. The asymmetry of
writeYangInstanceIdentifier() is fixed by moving it to
AbstractLithiumDataOutput.

Change-Id: I55d318349f2c89508f3834c8ca5b69e69b7171b1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractLithiumDataInput.java
java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractLithiumDataOutput.java
java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractNormalizedNodeDataInput.java [new file with mode: 0644]
java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractNormalizedNodeDataOutput.java