X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=pcep%2Fspi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fprotocol%2Fpcep%2Fspi%2FRROSubobjectParser.java;h=7fc5b7ba3e1d7584b3f2eb332833c616c62457c3;hb=1f18c032706004ce9bf0fcc648090ec5211b945a;hp=1d1dd39509ed22230c94262036a8f5d61aa2bec2;hpb=804cc49cb66d225655e85408f2ba1a1d8f50d03f;p=bgpcep.git diff --git a/pcep/spi/src/main/java/org/opendaylight/protocol/pcep/spi/RROSubobjectParser.java b/pcep/spi/src/main/java/org/opendaylight/protocol/pcep/spi/RROSubobjectParser.java index 1d1dd39509..7fc5b7ba3e 100644 --- a/pcep/spi/src/main/java/org/opendaylight/protocol/pcep/spi/RROSubobjectParser.java +++ b/pcep/spi/src/main/java/org/opendaylight/protocol/pcep/spi/RROSubobjectParser.java @@ -7,8 +7,13 @@ */ package org.opendaylight.protocol.pcep.spi; -import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev131005.reported.route.object.rro.Subobjects; +import io.netty.buffer.ByteBuf; +import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.reported.route.object.rro.Subobject; + +/** + * Reported Route Object Parser. + */ public interface RROSubobjectParser { - public Subobjects parseSubobject(final byte[] buffer) throws PCEPDeserializerException; + Subobject parseSubobject(ByteBuf buffer) throws PCEPDeserializerException; }