Class SRROBasicProtectionSubobjectParser
java.lang.Object
org.opendaylight.protocol.rsvp.parser.impl.te.ProtectionCommonParser
org.opendaylight.protocol.rsvp.parser.impl.subobject.rro.SRROBasicProtectionSubobjectParser
- All Implemented Interfaces:
RROSubobjectParser
,RROSubobjectSerializer
public class SRROBasicProtectionSubobjectParser
extends ProtectionCommonParser
implements RROSubobjectParser, RROSubobjectSerializer
Parser for
BasicProtectionCase
.-
Field Summary
Fields inherited from class org.opendaylight.protocol.rsvp.parser.impl.te.ProtectionCommonParser
CONTENT_LENGTH_C2, PROTECTION_SUBOBJECT_TYPE_1, PROTECTION_SUBOBJECT_TYPE_2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparseSubobject
(io.netty.buffer.ByteBuf buffer) void
serializeSubobject
(SubobjectContainer subobject, io.netty.buffer.ByteBuf buffer) Methods inherited from class org.opendaylight.protocol.rsvp.parser.impl.te.ProtectionCommonParser
parseCommonProtectionBody, parseCommonProtectionBodyType1, parseCommonProtectionBodyType2, serializeBody, serializeBodyType1, serializeBodyType2
-
Field Details
-
TYPE
public static final int TYPE- See Also:
-
CTYPE
public static final short CTYPE- See Also:
-
-
Constructor Details
-
SRROBasicProtectionSubobjectParser
public SRROBasicProtectionSubobjectParser()
-
-
Method Details
-
parseSubobject
public SubobjectContainer parseSubobject(io.netty.buffer.ByteBuf buffer) throws RSVPParsingException - Specified by:
parseSubobject
in interfaceRROSubobjectParser
- Throws:
RSVPParsingException
-
serializeSubobject
- Specified by:
serializeSubobject
in interfaceRROSubobjectSerializer
-