Separate out AbstractNormalizedNodeDataInput 14/84514/2
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)
commitad7135c49d0ec5f7180b46fe3657349c5d81bc63
tree3ff03ad1f6b3cb0ebd9d45a9ce2bbc13a15c385c
parent32de58ddec79025c40342566a93fb8bf52077334
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>
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractLithiumDataInput.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractLithiumDataOutput.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractNormalizedNodeDataInput.java [new file with mode: 0644]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractNormalizedNodeDataOutput.java