P2MP Request message
[bgpcep.git] / pcep / spi / src / main / java / org / opendaylight / protocol / pcep / spi / LabelParser.java
index dad8b39931b72e626c74aeaa6c1d7066b31ec7fa..232d5ec2396f05fa636d321b9b5d0ff150bab9cd 100644 (file)
@@ -7,8 +7,10 @@
  */
 package org.opendaylight.protocol.pcep.spi;
 
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev130820.label.subobject.LabelType;
+import io.netty.buffer.ByteBuf;
+
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.label.subobject.LabelType;
 
 public interface LabelParser {
-       public LabelType parseLabel(final byte[] buffer) throws PCEPDeserializerException;
+    LabelType parseLabel(final ByteBuf buffer) throws PCEPDeserializerException;
 }