Class Ipv6ExtHeaderEntrySerializer
- java.lang.Object
- 
- org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer
- 
- org.opendaylight.openflowplugin.impl.protocol.serialization.match.Ipv6ExtHeaderEntrySerializer
 
 
- 
- All Implemented Interfaces:
- HeaderSerializer<Match>,- OFGeneralSerializer,- OFSerializer<Match>,- MatchEntrySerializer
 
 public class Ipv6ExtHeaderEntrySerializer extends AbstractMatchEntrySerializer 
- 
- 
Constructor SummaryConstructors Constructor Description Ipv6ExtHeaderEntrySerializer()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleangetHasMask(Match match)Has mask getter.protected intgetOxmClassCode()Oxm class code.protected intgetOxmFieldCode()Oxm field numeric representation.protected intgetValueLength()Get value length.booleanmatchTypeCheck(Match match)Checks if current match is this match type.voidserialize(Match match, io.netty.buffer.ByteBuf outBuffer)Transforms POJO/DTO into byte message (ByteBuf).- 
Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializerserializeHeader, writeIpv4Address, writeIpv4Prefix, writeIpv6Address, writeIpv6Prefix, writeMacAddress, writeMask
 
- 
 
- 
- 
- 
Method Detail- 
serializepublic void serialize(Match match, io.netty.buffer.ByteBuf outBuffer) Description copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
- serializein interface- OFSerializer<Match>
- Overrides:
- serializein class- AbstractMatchEntrySerializer
- Parameters:
- match- object to be serialized
- outBuffer- output buffer
 
 - 
matchTypeCheckpublic boolean matchTypeCheck(Match match) Description copied from interface:MatchEntrySerializerChecks if current match is this match type.- Parameters:
- match- Openflow match
- Returns:
- true if matched
 
 - 
getHasMaskprotected boolean getHasMask(Match match) Description copied from class:AbstractMatchEntrySerializerHas mask getter.- Specified by:
- getHasMaskin class- AbstractMatchEntrySerializer
- Parameters:
- match- Openflow match
- Returns:
- if field has or has not mask
 
 - 
getOxmFieldCodeprotected int getOxmFieldCode() Description copied from class:AbstractMatchEntrySerializerOxm field numeric representation.- Specified by:
- getOxmFieldCodein class- AbstractMatchEntrySerializer
- Returns:
- numeric representation of oxm_field
 
 - 
getOxmClassCodeprotected int getOxmClassCode() Description copied from class:AbstractMatchEntrySerializerOxm class code.- Specified by:
- getOxmClassCodein class- AbstractMatchEntrySerializer
- Returns:
- numeric representation of oxm_class
 
 - 
getValueLengthprotected int getValueLength() Description copied from class:AbstractMatchEntrySerializerGet value length.- Specified by:
- getValueLengthin class- AbstractMatchEntrySerializer
- Returns:
- match entry value length (without mask length)
 
 
- 
 
-