Class PMSITunnelAttributeHandler

All Implemented Interfaces:
AttributeParser, AttributeSerializer

public final class PMSITunnelAttributeHandler extends Object implements AttributeParser, AttributeSerializer
PE Distinguisher Labels Attribute Handler.
Claudio D. Gasparini
  • Constructor Details

    • PMSITunnelAttributeHandler

      public PMSITunnelAttributeHandler()
  • Method Details

    • parseAttribute

      public void parseAttribute(io.netty.buffer.ByteBuf buffer, AttributesBuilder builder, PeerSpecificParserConstraint constraint)
      Description copied from interface: AttributeParser
      Parses attribute from ByteBuf buffer.
      Specified by:
      parseAttribute in interface AttributeParser
      buffer - Encoded attribute body in ByteBuf.
      builder - Path attributes builder. Guaranteed to contain all valid attributes whose type is numerically lower than this attribute's type.
      constraint - Peer specific constraints, may be null
    • getType

      public int getType()
    • serializeAttribute

      public void serializeAttribute(Attributes attribute, io.netty.buffer.ByteBuf byteAggregator)
      Specified by:
      serializeAttribute in interface AttributeSerializer
    • getClazz

      public Class<? extends org.opendaylight.yangtools.yang.binding.DataObject> getClazz()