Class SimpleRSVPExtensionProviderContext
java.lang.Object
org.opendaylight.protocol.rsvp.parser.spi.pojo.SimpleRSVPExtensionConsumerContext
org.opendaylight.protocol.rsvp.parser.spi.pojo.SimpleRSVPExtensionProviderContext
- All Implemented Interfaces:
RSVPExtensionConsumerContext
,RSVPExtensionProviderContext
public final class SimpleRSVPExtensionProviderContext
extends SimpleRSVPExtensionConsumerContext
implements RSVPExtensionProviderContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the context-wide cache for a particular object type.org.opendaylight.yangtools.concepts.Registration
registerEROSubobjectParser
(int subobjectType, EROSubobjectParser parser) org.opendaylight.yangtools.concepts.Registration
registerEROSubobjectSerializer
(Class<? extends SubobjectType> subobjectClass, EROSubobjectSerializer serializer) org.opendaylight.yangtools.concepts.Registration
registerLabelParser
(int ctype, LabelParser parser) org.opendaylight.yangtools.concepts.Registration
registerLabelSerializer
(Class<? extends LabelType> labelClass, LabelSerializer serializer) org.opendaylight.yangtools.concepts.Registration
registerRROSubobjectParser
(int subobjectType, RROSubobjectParser parser) org.opendaylight.yangtools.concepts.Registration
registerRROSubobjectSerializer
(Class<? extends SubobjectType> subobjectClass, RROSubobjectSerializer serializer) void
registerRsvpObjectParser
(int classNum, int ctype, RSVPTeObjectParser parser) void
registerRsvpObjectSerializer
(Class<? extends RsvpTeObject> objectClass, RSVPTeObjectSerializer serializer) org.opendaylight.yangtools.concepts.Registration
registerXROSubobjectParser
(int subobjectType, XROSubobjectParser parser) org.opendaylight.yangtools.concepts.Registration
registerXROSubobjectSerializer
(Class<? extends SubobjectType> subobjectClass, XROSubobjectSerializer serializer) Methods inherited from class org.opendaylight.protocol.rsvp.parser.spi.pojo.SimpleRSVPExtensionConsumerContext
getEROSubobjectHandlerRegistry, getLabelHandlerRegistry, getRROSubobjectHandlerRegistry, getRsvpRegistry, getXROSubobjectHandlerRegistry
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.protocol.rsvp.parser.spi.RSVPExtensionConsumerContext
getEROSubobjectHandlerRegistry, getLabelHandlerRegistry, getRROSubobjectHandlerRegistry, getRsvpRegistry, getXROSubobjectHandlerRegistry
-
Constructor Details
-
SimpleRSVPExtensionProviderContext
public SimpleRSVPExtensionProviderContext() -
SimpleRSVPExtensionProviderContext
public SimpleRSVPExtensionProviderContext(int maximumCachedObjects)
-
-
Method Details
-
getReferenceCache
Description copied from interface:RSVPExtensionProviderContext
Get the context-wide cache for a particular object type.- Specified by:
getReferenceCache
in interfaceRSVPExtensionProviderContext
- Returns:
- An object cache instance.
-
registerRsvpObjectParser
- Specified by:
registerRsvpObjectParser
in interfaceRSVPExtensionProviderContext
-
registerRsvpObjectSerializer
public void registerRsvpObjectSerializer(Class<? extends RsvpTeObject> objectClass, RSVPTeObjectSerializer serializer) - Specified by:
registerRsvpObjectSerializer
in interfaceRSVPExtensionProviderContext
-
registerXROSubobjectSerializer
public org.opendaylight.yangtools.concepts.Registration registerXROSubobjectSerializer(Class<? extends SubobjectType> subobjectClass, XROSubobjectSerializer serializer) - Specified by:
registerXROSubobjectSerializer
in interfaceRSVPExtensionProviderContext
-
registerXROSubobjectParser
public org.opendaylight.yangtools.concepts.Registration registerXROSubobjectParser(int subobjectType, XROSubobjectParser parser) - Specified by:
registerXROSubobjectParser
in interfaceRSVPExtensionProviderContext
-
registerRROSubobjectSerializer
public org.opendaylight.yangtools.concepts.Registration registerRROSubobjectSerializer(Class<? extends SubobjectType> subobjectClass, RROSubobjectSerializer serializer) - Specified by:
registerRROSubobjectSerializer
in interfaceRSVPExtensionProviderContext
-
registerRROSubobjectParser
public org.opendaylight.yangtools.concepts.Registration registerRROSubobjectParser(int subobjectType, RROSubobjectParser parser) - Specified by:
registerRROSubobjectParser
in interfaceRSVPExtensionProviderContext
-
registerEROSubobjectSerializer
public org.opendaylight.yangtools.concepts.Registration registerEROSubobjectSerializer(Class<? extends SubobjectType> subobjectClass, EROSubobjectSerializer serializer) - Specified by:
registerEROSubobjectSerializer
in interfaceRSVPExtensionProviderContext
-
registerEROSubobjectParser
public org.opendaylight.yangtools.concepts.Registration registerEROSubobjectParser(int subobjectType, EROSubobjectParser parser) - Specified by:
registerEROSubobjectParser
in interfaceRSVPExtensionProviderContext
-
registerLabelSerializer
public org.opendaylight.yangtools.concepts.Registration registerLabelSerializer(Class<? extends LabelType> labelClass, LabelSerializer serializer) - Specified by:
registerLabelSerializer
in interfaceRSVPExtensionProviderContext
-
registerLabelParser
public org.opendaylight.yangtools.concepts.Registration registerLabelParser(int ctype, LabelParser parser) - Specified by:
registerLabelParser
in interfaceRSVPExtensionProviderContext
-