public abstract class AbstractOxmMatchEntryDeserializer extends Object implements HeaderDeserializer<MatchEntry>
Constructor and Description |
---|
AbstractOxmMatchEntryDeserializer() |
Modifier and Type | Method and Description |
---|---|
MatchEntry |
deserializeHeader(io.netty.buffer.ByteBuf input)
Deserializes a byte message headers.
|
protected abstract Class<? extends OxmClassBase> |
getOxmClass()
Returns the oxm_class class.
|
protected abstract Class<? extends MatchField> |
getOxmField()
Returns the oxm_field class.
|
protected MatchEntryBuilder |
processHeader(Class<? extends OxmClassBase> oxmClass,
Class<? extends MatchField> oxmField,
io.netty.buffer.ByteBuf input)
Prepares match entry header - sets oxm_class, oxm_field, hasMask
+ sets the buffer.readerIndex() to the end of match entry
- where augmentation starts.
|
public MatchEntry deserializeHeader(io.netty.buffer.ByteBuf input)
HeaderDeserializer
deserializeHeader
in interface HeaderDeserializer<MatchEntry>
input
- message as bytes in ByteBufprotected abstract Class<? extends MatchField> getOxmField()
protected abstract Class<? extends OxmClassBase> getOxmClass()
protected MatchEntryBuilder processHeader(Class<? extends OxmClassBase> oxmClass, Class<? extends MatchField> oxmField, io.netty.buffer.ByteBuf input)
oxmClass
- oxm class typeoxmField
- oxm field typeinput
- input bytebufCopyright © 2020 OpenDaylight. All rights reserved.