* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.pcep.impl.subobject;
+package org.opendaylight.protocol.pcep.spi;
import org.opendaylight.protocol.pcep.PCEPDeserializerException;
-import org.opendaylight.protocol.pcep.subobject.RROLabelSubobject;
-
-public interface RROLabelParser {
- RROLabelSubobject parse(byte[] cutBytes, boolean upStream) throws PCEPDeserializerException;
-
- byte[] put(RROLabelSubobject objToSerialize);
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev131005.explicit.route.object.Subobjects;
+public interface EROSubobjectParser {
+ public Subobjects parseSubobject(final byte[] buffer, final boolean loose) throws PCEPDeserializerException;
}