Class Ipv6DstCodec
java.lang.Object
org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
org.opendaylight.openflowjava.nx.codec.match.Ipv6DstCodec
- All Implemented Interfaces:
HeaderDeserializer<MatchEntry>,HeaderSerializer<MatchEntry>,OFDeserializer<MatchEntry>,OFGeneralDeserializer,OFGeneralSerializer,OFSerializer<MatchEntry>
Codec for the Ipv6Dst message.
- Author:
- Sridhar Gaddam (sgaddam@redhat.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MatchEntryDeserializerKeystatic final MatchEntrySerializerKey<Nxm1Class,NxmOfIpDst> Fields inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
headerWithMask, headerWithoutMask -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(io.netty.buffer.ByteBuf message) Transforms byte message into POJO/DTO (of type E).Returns the nxm_field class.intReturns the numeric representation of nxm_field.Returns the oxm_class class.intReturns the numeric representation of oxm_class.intReturns the match entry value length.voidserialize(MatchEntry input, io.netty.buffer.ByteBuf outBuffer) Transforms POJO/DTO into byte message (ByteBuf).Methods inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
buildHeader, deserializeHeader, deserializeHeaderToBuilder, getHeader, getHeaderWithHasMask, getHeaderWithoutHasMask, serializeHeader, serializeHeader
-
Field Details
-
SERIALIZER_KEY
-
DESERIALIZER_KEY
-
-
Constructor Details
-
Ipv6DstCodec
public Ipv6DstCodec()
-
-
Method Details
-
deserialize
Description copied from interface:OFDeserializerTransforms byte message into POJO/DTO (of type E).- Parameters:
message- message as bytes in ByteBuf- Returns:
- POJO/DTO
-
serialize
Description copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Parameters:
input- object to be serializedoutBuffer- output buffer
-
getNxmFieldCode
public int getNxmFieldCode()Description copied from class:AbstractMatchCodecReturns the numeric representation of nxm_field.- Specified by:
getNxmFieldCodein classAbstractMatchCodec
-
getOxmClassCode
public int getOxmClassCode()Description copied from class:AbstractMatchCodecReturns the numeric representation of oxm_class.- Specified by:
getOxmClassCodein classAbstractMatchCodec
-
getValueLength
public int getValueLength()Description copied from class:AbstractMatchCodecReturns the match entry value length.- Specified by:
getValueLengthin classAbstractMatchCodec
-
getNxmField
Description copied from class:AbstractMatchCodecReturns the nxm_field class.- Specified by:
getNxmFieldin classAbstractMatchCodec
-
getOxmClass
Description copied from class:AbstractMatchCodecReturns the oxm_class class.- Specified by:
getOxmClassin classAbstractMatchCodec
-