Class SimpleRSVPObjectRegistry
java.lang.Object
org.opendaylight.protocol.rsvp.parser.spi.pojo.SimpleRSVPObjectRegistry
- All Implemented Interfaces:
RSVPTeObjectRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparseRSPVTe
(int classNum, int ctype, io.netty.buffer.ByteBuf buffer) void
registerRsvpObjectParser
(int classNum, int ctype, RSVPTeObjectParser parser) void
registerRsvpObjectSerializer
(Class<? extends RsvpTeObject> objectClass, RSVPTeObjectSerializer serializer) void
serializeRSPVTe
(RsvpTeObject parameter, io.netty.buffer.ByteBuf bytes)
-
Constructor Details
-
SimpleRSVPObjectRegistry
public SimpleRSVPObjectRegistry()
-
-
Method Details
-
registerRsvpObjectParser
-
registerRsvpObjectSerializer
public void registerRsvpObjectSerializer(Class<? extends RsvpTeObject> objectClass, RSVPTeObjectSerializer serializer) -
parseRSPVTe
public RsvpTeObject parseRSPVTe(int classNum, int ctype, io.netty.buffer.ByteBuf buffer) throws RSVPParsingException - Specified by:
parseRSPVTe
in interfaceRSVPTeObjectRegistry
- Throws:
RSVPParsingException
-
serializeRSPVTe
- Specified by:
serializeRSPVTe
in interfaceRSVPTeObjectRegistry
-