public class PacketTypeEntrySerializer extends AbstractMatchEntrySerializer
Constructor and Description |
---|
PacketTypeEntrySerializer() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
getHasMask(Match match)
Has mask getter.
|
protected int |
getOxmClassCode()
Oxm class code.
|
protected int |
getOxmFieldCode()
Oxm field numeric representation.
|
protected int |
getValueLength()
Get value length.
|
boolean |
matchTypeCheck(Match match)
Checks if current match is this match type.
|
void |
serialize(Match match,
io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).
|
serializeHeader, writeIpv4Address, writeIpv4Prefix, writeIpv6Address, writeIpv6Prefix, writeMacAddress, writeMask
public void serialize(Match match, io.netty.buffer.ByteBuf outBuffer)
OFSerializer
serialize
in interface OFSerializer<Match>
serialize
in class AbstractMatchEntrySerializer
match
- object to be serializedoutBuffer
- output bufferprotected boolean getHasMask(Match match)
AbstractMatchEntrySerializer
getHasMask
in class AbstractMatchEntrySerializer
match
- Openflow matchprotected int getOxmFieldCode()
AbstractMatchEntrySerializer
getOxmFieldCode
in class AbstractMatchEntrySerializer
protected int getOxmClassCode()
AbstractMatchEntrySerializer
getOxmClassCode
in class AbstractMatchEntrySerializer
protected int getValueLength()
AbstractMatchEntrySerializer
getValueLength
in class AbstractMatchEntrySerializer
public boolean matchTypeCheck(Match match)
MatchEntrySerializer
match
- Openflow matchCopyright © 2020 OpenDaylight. All rights reserved.