Class ProtectionCommonParser
java.lang.Object
org.opendaylight.protocol.rsvp.parser.impl.te.ProtectionCommonParser
- Direct Known Subclasses:
SEROBasicProtectionSubobjectParser,SERODynamicProtectionSubobjectParser,SRROBasicProtectionSubobjectParser,SRRODynamicProtectionSubobjectParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final shortprotected static final short -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static ProtectionSubobjectparseCommonProtectionBody(short ctype, io.netty.buffer.ByteBuf byteBuf) protected static ProtectionSubobjectparseCommonProtectionBodyType1(io.netty.buffer.ByteBuf byteBuf) protected static ProtectionSubobjectparseCommonProtectionBodyType2(io.netty.buffer.ByteBuf byteBuf) protected static voidserializeBody(short ctype, ProtectionSubobject protObj, io.netty.buffer.ByteBuf output) protected static voidserializeBodyType1(ProtectionSubobject protObj, io.netty.buffer.ByteBuf output) protected static voidserializeBodyType2(ProtectionSubobject protObj, io.netty.buffer.ByteBuf output)
-
Field Details
-
PROTECTION_SUBOBJECT_TYPE_1
protected static final short PROTECTION_SUBOBJECT_TYPE_1- See Also:
-
PROTECTION_SUBOBJECT_TYPE_2
protected static final short PROTECTION_SUBOBJECT_TYPE_2- See Also:
-
CONTENT_LENGTH_C2
protected static final int CONTENT_LENGTH_C2- See Also:
-
-
Constructor Details
-
ProtectionCommonParser
protected ProtectionCommonParser()
-
-
Method Details
-
serializeBodyType1
protected static void serializeBodyType1(ProtectionSubobject protObj, io.netty.buffer.ByteBuf output) -
serializeBodyType2
protected static void serializeBodyType2(ProtectionSubobject protObj, io.netty.buffer.ByteBuf output) -
parseCommonProtectionBodyType2
protected static ProtectionSubobject parseCommonProtectionBodyType2(io.netty.buffer.ByteBuf byteBuf) throws RSVPParsingException - Throws:
RSVPParsingException
-
parseCommonProtectionBodyType1
protected static ProtectionSubobject parseCommonProtectionBodyType1(io.netty.buffer.ByteBuf byteBuf) -
serializeBody
protected static void serializeBody(short ctype, ProtectionSubobject protObj, io.netty.buffer.ByteBuf output) -
parseCommonProtectionBody
protected static ProtectionSubobject parseCommonProtectionBody(short ctype, io.netty.buffer.ByteBuf byteBuf) throws RSVPParsingException - Throws:
RSVPParsingException
-