Class CtZoneCodec
- java.lang.Object
- 
- org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
- 
- org.opendaylight.openflowjava.nx.codec.match.CtZoneCodec
 
 
- 
- All Implemented Interfaces:
- HeaderDeserializer<MatchEntry>,- HeaderSerializer<MatchEntry>,- OFDeserializer<MatchEntry>,- OFGeneralDeserializer,- OFGeneralSerializer,- OFSerializer<MatchEntry>
 
 public class CtZoneCodec extends AbstractMatchCodec Codec for CtZone.- Author:
- Aswin Suryanarayanan.
 
- 
- 
Field SummaryFields Modifier and Type Field Description static MatchEntryDeserializerKeyDESERIALIZER_KEYstatic MatchEntrySerializerKey<Nxm1Class,NxmNxCtZone>SERIALIZER_KEY- 
Fields inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodecheaderWithMask, headerWithoutMask
 
- 
 - 
Constructor SummaryConstructors Constructor Description CtZoneCodec()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchEntrydeserialize(io.netty.buffer.ByteBuf message)Transforms byte message into POJO/DTO (of type E).Class<? extends MatchField>getNxmField()Returns the nxm_field class.intgetNxmFieldCode()Returns the numeric representation of nxm_field.Class<? extends OxmClassBase>getOxmClass()Returns the oxm_class class.intgetOxmClassCode()Returns the numeric representation of oxm_class.intgetValueLength()Returns 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.AbstractMatchCodecbuildHeader, deserializeHeader, deserializeHeaderToBuilder, getHeader, getHeaderWithHasMask, getHeaderWithoutHasMask, serializeHeader, serializeHeader
 
- 
 
- 
- 
- 
Field Detail- 
SERIALIZER_KEYpublic static final MatchEntrySerializerKey<Nxm1Class,NxmNxCtZone> SERIALIZER_KEY 
 - 
DESERIALIZER_KEYpublic static final MatchEntryDeserializerKey DESERIALIZER_KEY 
 
- 
 - 
Method Detail- 
serializepublic void serialize(MatchEntry input, io.netty.buffer.ByteBuf outBuffer) Description copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Parameters:
- input- object to be serialized
- outBuffer- output buffer
 
 - 
deserializepublic MatchEntry deserialize(io.netty.buffer.ByteBuf message) Description copied from interface:OFDeserializerTransforms byte message into POJO/DTO (of type E).- Parameters:
- message- message as bytes in ByteBuf
- Returns:
- POJO/DTO
 
 - 
getNxmFieldCodepublic int getNxmFieldCode() Description copied from class:AbstractMatchCodecReturns the numeric representation of nxm_field.- Specified by:
- getNxmFieldCodein class- AbstractMatchCodec
 
 - 
getOxmClassCodepublic int getOxmClassCode() Description copied from class:AbstractMatchCodecReturns the numeric representation of oxm_class.- Specified by:
- getOxmClassCodein class- AbstractMatchCodec
 
 - 
getValueLengthpublic int getValueLength() Description copied from class:AbstractMatchCodecReturns the match entry value length.- Specified by:
- getValueLengthin class- AbstractMatchCodec
 
 - 
getNxmFieldpublic Class<? extends MatchField> getNxmField() Description copied from class:AbstractMatchCodecReturns the nxm_field class.- Specified by:
- getNxmFieldin class- AbstractMatchCodec
 
 - 
getOxmClasspublic Class<? extends OxmClassBase> getOxmClass() Description copied from class:AbstractMatchCodecReturns the oxm_class class.- Specified by:
- getOxmClassin class- AbstractMatchCodec
 
 
- 
 
-