Class Icmpv6NDReservedCodec
- java.lang.Object
-
- org.opendaylight.openflowjava.eric.codec.match.AbstractMatchCodec
-
- org.opendaylight.openflowjava.eric.codec.match.Icmpv6NDReservedCodec
-
- All Implemented Interfaces:
HeaderDeserializer<MatchEntry>
,HeaderSerializer<MatchEntry>
,OFDeserializer<MatchEntry>
,OFGeneralDeserializer
,OFGeneralSerializer
,OFSerializer<MatchEntry>
public class Icmpv6NDReservedCodec extends AbstractMatchCodec
-
-
Field Summary
Fields Modifier and Type Field Description static MatchEntryDeserializerKey
DESERIALIZER_KEY
static Icmpv6NDReservedCodec
INSTANCE
static MatchEntrySerializerKey<?,?>
SERIALIZER_KEY
-
Fields inherited from class org.opendaylight.openflowjava.eric.codec.match.AbstractMatchCodec
headerWithMask, headerWithoutMask
-
-
Constructor Summary
Constructors Constructor Description Icmpv6NDReservedCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchEntry
deserialize(io.netty.buffer.ByteBuf message)
Transforms byte message into POJO/DTO (of type E).Class<? extends MatchField>
getEricField()
Returns the eric_field class.int
getEricFieldCode()
Returns the numeric representation of eric_field.Class<? extends OxmClassBase>
getOxmClass()
Returns the oxm_class class.int
getOxmClassCode()
Returns the numeric representation of oxm_class.int
getValueLength()
Returns the match entry value length.void
serialize(MatchEntry input, io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).-
Methods inherited from class org.opendaylight.openflowjava.eric.codec.match.AbstractMatchCodec
buildHeader, deserializeHeader, deserializeHeaderToBuilder, getHeader, getHeaderWithHasMask, getHeaderWithoutHasMask, serializeHeader, serializeHeader
-
-
-
-
Field Detail
-
INSTANCE
public static final Icmpv6NDReservedCodec INSTANCE
-
SERIALIZER_KEY
public static final MatchEntrySerializerKey<?,?> SERIALIZER_KEY
-
DESERIALIZER_KEY
public static final MatchEntryDeserializerKey DESERIALIZER_KEY
-
-
Method Detail
-
serialize
public void serialize(MatchEntry input, io.netty.buffer.ByteBuf outBuffer)
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Parameters:
input
- object to be serializedoutBuffer
- output buffer
-
deserialize
public MatchEntry deserialize(io.netty.buffer.ByteBuf message)
Description copied from interface:OFDeserializer
Transforms byte message into POJO/DTO (of type E).- Parameters:
message
- message as bytes in ByteBuf- Returns:
- POJO/DTO
-
getEricFieldCode
public int getEricFieldCode()
Description copied from class:AbstractMatchCodec
Returns the numeric representation of eric_field.- Specified by:
getEricFieldCode
in classAbstractMatchCodec
-
getOxmClassCode
public int getOxmClassCode()
Description copied from class:AbstractMatchCodec
Returns the numeric representation of oxm_class.- Specified by:
getOxmClassCode
in classAbstractMatchCodec
-
getValueLength
public int getValueLength()
Description copied from class:AbstractMatchCodec
Returns the match entry value length.- Specified by:
getValueLength
in classAbstractMatchCodec
-
getEricField
public Class<? extends MatchField> getEricField()
Description copied from class:AbstractMatchCodec
Returns the eric_field class.- Specified by:
getEricField
in classAbstractMatchCodec
-
getOxmClass
public Class<? extends OxmClassBase> getOxmClass()
Description copied from class:AbstractMatchCodec
Returns the oxm_class class.- Specified by:
getOxmClass
in classAbstractMatchCodec
-
-