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 Modifier and Type Field Description static short
CTYPE
static int
TYPE
-
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
Constructors Constructor Description SEROBasicProtectionSubobjectParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubobjectContainer
parseSubobject(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 Detail
-
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
-
CTYPE
public static final short CTYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseSubobject
public SubobjectContainer parseSubobject(io.netty.buffer.ByteBuf buffer, boolean loose) throws RSVPParsingException
- Specified by:
parseSubobject
in interfaceEROSubobjectParser
- Throws:
RSVPParsingException
-
serializeSubobject
public void serializeSubobject(SubobjectContainer subobject, io.netty.buffer.ByteBuf buffer)
- Specified by:
serializeSubobject
in interfaceEROSubobjectSerializer
-
-