Class Ipv4SpecificEcHandler
java.lang.Object
org.opendaylight.protocol.bgp.parser.spi.extended.community.AbstractIpv4ExtendedCommunity
org.opendaylight.protocol.bgp.parser.impl.message.update.extended.communities.Ipv4SpecificEcHandler
- All Implemented Interfaces:
 ExtendedCommunityParser,ExtendedCommunitySerializer
- 
Field Summary
Fields inherited from class org.opendaylight.protocol.bgp.parser.spi.extended.community.AbstractIpv4ExtendedCommunity
INET_LOCAL_ADMIN_LENGTH - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintProvides a sub-type of the extended community for which the serializer is registered.parseExtendedCommunity(io.netty.buffer.ByteBuf buffer) Parses the Extended Community value encoded in the buffer.voidserializeExtendedCommunity(ExtendedCommunity extendedCommunity, io.netty.buffer.ByteBuf byteAggregator) Serializes Extended Community value to the buffer.Methods inherited from class org.opendaylight.protocol.bgp.parser.spi.extended.community.AbstractIpv4ExtendedCommunity
getType 
- 
Constructor Details
- 
Ipv4SpecificEcHandler
public Ipv4SpecificEcHandler() 
 - 
 - 
Method Details
- 
parseExtendedCommunity
Description copied from interface:ExtendedCommunityParserParses the Extended Community value encoded in the buffer.- Parameters:
 buffer- ByteBuf- Returns:
 - Decoded Extended Community value.
 
 - 
serializeExtendedCommunity
public void serializeExtendedCommunity(ExtendedCommunity extendedCommunity, io.netty.buffer.ByteBuf byteAggregator) Description copied from interface:ExtendedCommunitySerializerSerializes Extended Community value to the buffer.- Parameters:
 extendedCommunity- ExtendedCommuity to be encoded.byteAggregator- The output buffer where the extended community is written.
 - 
getSubType
public int getSubType()Description copied from interface:ExtendedCommunitySerializerProvides a sub-type of the extended community for which the serializer is registered.- Returns:
 - A sub-type of the extended community.
 
 
 -