*/
package org.opendaylight.protocol.pcep.spi;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev131005.exclude.route.object.Subobjects;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev130820.CSubobject;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev130820.basic.explicit.route.subobjects.SubobjectType;
public interface XROSubobjectHandlerRegistry {
-
- public AutoCloseable registerSubobjectParser(int subobjectType, XROSubobjectParser parser);
-
- public XROSubobjectParser getSubobjectParser(int subobjectType);
-
- public AutoCloseable registerSubobjectSerializer(Class<? extends CSubobject> subobjectClass, XROSubobjectSerializer serializer);
-
- public XROSubobjectSerializer getSubobjectSerializer(Subobjects subobject);
+ XROSubobjectParser getSubobjectParser(int subobjectType);
+ XROSubobjectSerializer getSubobjectSerializer(SubobjectType subobject);
}