* 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;
+package org.opendaylight.protocol.pcep.spi;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev131005.Message;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev130820.CSubobject;
-/**
- * Interface for specific message parsers
- */
-public interface PCEPMessageParser {
+public interface SubobjectSerializer {
+
+ @Deprecated
+ public int getType();
- public byte[] put(Message obj);
+ public byte[] serializeSubobject(CSubobject subobject);
}