Class ProtectionCommonParser
- java.lang.Object
-
- org.opendaylight.protocol.rsvp.parser.impl.te.ProtectionCommonParser
-
- Direct Known Subclasses:
SEROBasicProtectionSubobjectParser
,SERODynamicProtectionSubobjectParser
,SRROBasicProtectionSubobjectParser
,SRRODynamicProtectionSubobjectParser
public class ProtectionCommonParser extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
CONTENT_LENGTH_C2
protected static short
PROTECTION_SUBOBJECT_TYPE_1
protected static short
PROTECTION_SUBOBJECT_TYPE_2
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProtectionCommonParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
PROTECTION_SUBOBJECT_TYPE_1
protected static final short PROTECTION_SUBOBJECT_TYPE_1
- See Also:
- Constant Field Values
-
PROTECTION_SUBOBJECT_TYPE_2
protected static final short PROTECTION_SUBOBJECT_TYPE_2
- See Also:
- Constant Field Values
-
CONTENT_LENGTH_C2
protected static final int CONTENT_LENGTH_C2
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-