Class SEROBasicProtectionSubobjectParser
java.lang.Object
org.opendaylight.protocol.rsvp.parser.impl.te.ProtectionCommonParser
org.opendaylight.protocol.rsvp.parser.impl.subobject.ero.SEROBasicProtectionSubobjectParser
- All Implemented Interfaces:
EROSubobjectParser
,EROSubobjectSerializer
public class SEROBasicProtectionSubobjectParser
extends ProtectionCommonParser
implements EROSubobjectParser, EROSubobjectSerializer
-
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, boolean loose) 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
-
SEROBasicProtectionSubobjectParser
public SEROBasicProtectionSubobjectParser()
-
-
Method Details
-
parseSubobject
public SubobjectContainer parseSubobject(io.netty.buffer.ByteBuf buffer, boolean loose) throws RSVPParsingException - Specified by:
parseSubobject
in interfaceEROSubobjectParser
- Throws:
RSVPParsingException
-
serializeSubobject
- Specified by:
serializeSubobject
in interfaceEROSubobjectSerializer
-