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 for 
BasicProtectionCase.- 
Field Summary
FieldsFields 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 - 
Method Summary
Modifier and TypeMethodDescriptionparseSubobject(io.netty.buffer.ByteBuf buffer) voidserializeSubobject(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 Details
- 
TYPE
public static final int TYPE- See Also:
 
 - 
CTYPE
public static final short CTYPE- See Also:
 
 
 - 
 - 
Constructor Details
- 
SRROBasicProtectionSubobjectParser
public SRROBasicProtectionSubobjectParser() 
 - 
 - 
Method Details
- 
parseSubobject
public SubobjectContainer parseSubobject(io.netty.buffer.ByteBuf buffer) throws RSVPParsingException - Specified by:
 parseSubobjectin interfaceRROSubobjectParser- Throws:
 RSVPParsingException
 - 
serializeSubobject
- Specified by:
 serializeSubobjectin interfaceRROSubobjectSerializer
 
 -