Add support for coded QNames/AugmentationIdentifiers
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / java / org / opendaylight / controller / cluster / datastore / node / utils / stream / NormalizedNodeDataInput.java
index 7d793b1f3c14602dfe368b5232346baa122ac876..93eb55cc8e07b388a3865c9ae39cd8e966d0e25e 100644 (file)
@@ -35,4 +35,12 @@ public interface NormalizedNodeDataInput extends DataInput {
     PathArgument readPathArgument() throws IOException;
 
     SchemaPath readSchemaPath() throws IOException;
+
+    /**
+     * Return the version of the underlying input stream.
+     *
+     * @return Stream version
+     * @throws IOException if the version cannot be ascertained
+     */
+    NormalizedNodeStreamVersion getVersion() throws IOException;
 }