Class SRROBasicProtectionSubobjectParser
- java.lang.Object
-
- org.opendaylight.protocol.rsvp.parser.impl.te.ProtectionCommonParser
-
- org.opendaylight.protocol.rsvp.parser.impl.subobject.rro.SRROBasicProtectionSubobjectParser
-
- All Implemented Interfaces:
RROSubobjectParser
,RROSubobjectSerializer
public class SRROBasicProtectionSubobjectParser extends ProtectionCommonParser implements RROSubobjectParser, RROSubobjectSerializer
Parser forBasicProtectionCase
.
-
-
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 SRROBasicProtectionSubobjectParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubobjectContainer
parseSubobject(io.netty.buffer.ByteBuf buffer)
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) throws RSVPParsingException
- Specified by:
parseSubobject
in interfaceRROSubobjectParser
- Throws:
RSVPParsingException
-
serializeSubobject
public void serializeSubobject(SubobjectContainer subobject, io.netty.buffer.ByteBuf buffer)
- Specified by:
serializeSubobject
in interfaceRROSubobjectSerializer
-
-