Class AbstractMatchEntryDeserializer
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.protocol.deserialization.match.AbstractMatchEntryDeserializer
-
- All Implemented Interfaces:
MatchEntryDeserializer
- Direct Known Subclasses:
ArpOpEntryDeserializer
,ArpSourceHardwareAddressEntryDeserializer
,ArpSourceTransportAddressEntryDeserializer
,ArpTargetHardwareAddressEntryDeserializer
,ArpTargetTransportAddressEntryDeserializer
,EthernetDestinationEntryDeserializer
,EthernetSourceEntryDeserializer
,EthernetTypeEntryDeserializer
,Icmpv4CodeEntryDeserializer
,Icmpv4TypeEntryDeserializer
,Icmpv6CodeEntryDeserializer
,Icmpv6TypeEntryDeserializer
,InPhyPortEntryDeserializer
,InPortEntryDeserializer
,IpDscpEntryDeserializer
,IpEcnEntryDeserializer
,IpProtoEntryDeserializer
,Ipv4DestinationEntryDeserializer
,Ipv4SourceEntryDeserializer
,Ipv6DestinationEntryDeserializer
,Ipv6ExtHeaderEntryDeserializer
,Ipv6FlabelEntryDeserializer
,Ipv6NdSllEntryDeserializer
,Ipv6NdTargetEntryDeserializer
,Ipv6NdTllEntryDeserializer
,Ipv6SourceEntryDeserializer
,MetadataEntryDeserializer
,MplsBosEntryDeserializer
,MplsLabelEntryDeserializer
,MplsTcEntryDeserializer
,PacketTypeEntryDeserializer
,PbbEntryDeserializer
,SctpDestinationPortEntryDeserializer
,SctpSourcePortEntryDeserializer
,TcpDestinationPortEntryDeserializer
,TcpFlagsEntryDeserializer
,TcpSourcePortEntryDeserializer
,TunnelIdEntryDeserializer
,UdpDestinationPortEntryDeserializer
,UdpSourcePortEntryDeserializer
,VlanPcpEntryDeserializer
,VlanVidEntryDeserializer
public abstract class AbstractMatchEntryDeserializer extends Object implements MatchEntryDeserializer
-
-
Constructor Summary
Constructors Constructor Description AbstractMatchEntryDeserializer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.openflowplugin.api.openflow.protocol.deserialization.MatchEntryDeserializer
deserializeEntry
-
-
-
-
Method Detail
-
processHeader
protected static boolean processHeader(io.netty.buffer.ByteBuf in)
Processes match entry header and returns if it have mask, or not.- Parameters:
in
- input buffer- Returns:
- true if match entry has mask, false otherwise
-
readPrefix
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.- Parameters:
message
- buffered messagehasMask
- determines if prefix has mask or not- Returns:
- IPv4 prefix
-
throwErrorOnMalformed
protected static void throwErrorOnMalformed(MatchBuilder builder, String propertyName)
Throw error on malformed match builder input.- Parameters:
builder
- match builderpropertyName
- name of property that already containsData
-
throwErrorOnMalformed
protected static void throwErrorOnMalformed(MatchBuilder builder, String propertyName, String fieldName)
Throw error on malformed match builder input.- Parameters:
builder
- match builderpropertyName
- name of property that already containsData
-
-