public abstract class AbstractMatchEntryDeserializer extends Object implements MatchEntryDeserializer
Constructor and Description |
---|
AbstractMatchEntryDeserializer() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
processHeader(io.netty.buffer.ByteBuf in)
Processes match entry header and returns if it have mask, or not.
|
protected static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix |
readPrefix(io.netty.buffer.ByteBuf message,
boolean hasMask)
Read Ipv4Prefix from message.
|
protected static void |
throwErrorOnMalformed(MatchBuilder builder,
String propertyName)
Throw error on malformed match builder input.
|
protected static void |
throwErrorOnMalformed(MatchBuilder builder,
String propertyName,
String fieldName)
Throw error on malformed match builder input.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deserializeEntry
protected static boolean processHeader(io.netty.buffer.ByteBuf in)
in
- input bufferprotected static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix readPrefix(io.netty.buffer.ByteBuf message, boolean hasMask)
message
- buffered messagehasMask
- determines if prefix has mask or notprotected static void throwErrorOnMalformed(MatchBuilder builder, String propertyName)
builder
- match builderpropertyName
- name of property that already containsDataprotected static void throwErrorOnMalformed(MatchBuilder builder, String propertyName, String fieldName)
builder
- match builderpropertyName
- name of property that already containsDataCopyright © 2019 OpenDaylight. All rights reserved.