*/
package org.opendaylight.protocol.pcep.spi;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev131005.reported.route.object.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 Serializer.
+ */
public interface RROSubobjectSerializer {
-
- @Deprecated
- public int getType();
-
- public byte[] serializeSubobject(Subobjects subobject);
+ void serializeSubobject(Subobject subobject, ByteBuf buffer);
}