*/
package org.opendaylight.protocol.pcep.spi;
-import org.opendaylight.protocol.pcep.PCEPDeserializerException;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev130820.CLabel;
+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 CLabel parseLabel(final byte[] buffer) throws PCEPDeserializerException;
+ LabelType parseLabel(ByteBuf buffer) throws PCEPDeserializerException;
}