Class ProtectionCommonParser
java.lang.Object
org.opendaylight.protocol.rsvp.parser.impl.te.ProtectionCommonParser
- Direct Known Subclasses:
SEROBasicProtectionSubobjectParser
,SERODynamicProtectionSubobjectParser
,SRROBasicProtectionSubobjectParser
,SRRODynamicProtectionSubobjectParser
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
protected static final short
protected static final short
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static ProtectionSubobject
parseCommonProtectionBody
(short ctype, io.netty.buffer.ByteBuf byteBuf) protected static ProtectionSubobject
parseCommonProtectionBodyType1
(io.netty.buffer.ByteBuf byteBuf) protected static ProtectionSubobject
parseCommonProtectionBodyType2
(io.netty.buffer.ByteBuf byteBuf) protected static void
serializeBody
(short ctype, ProtectionSubobject protObj, io.netty.buffer.ByteBuf output) protected static void
serializeBodyType1
(ProtectionSubobject protObj, io.netty.buffer.ByteBuf output) protected static void
serializeBodyType2
(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
-