Package org.opendaylight.openflowplugin.impl.protocol.serialization.multipart.tablefeatures.matchfield
Class AbstractMatchFieldSerializer
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.multipart.tablefeatures.matchfield.AbstractMatchFieldSerializer
-
- All Implemented Interfaces:
OFGeneralSerializer,OFSerializer<SetFieldMatch>
- Direct Known Subclasses:
ArpOpMatchFieldSerializer,ArpShaMatchFieldSerializer,ArpSpaMatchFieldSerializer,ArpThaMatchFieldSerializer,ArpTpaMatchFieldSerializer,EthDstMatchFieldSerializer,EthSrcMatchFieldSerializer,EthTypeMatchFieldSerializer,Icmpv4CodeMatchFieldSerializer,Icmpv4TypeMatchFieldSerializer,Icmpv6CodeMatchFieldSerializer,Icmpv6TypeMatchFieldSerializer,InPhyPortMatchFieldSerializer,InPortMatchFieldSerializer,IpDscpMatchFieldSerializer,IpEcnMatchFieldSerializer,IpProtoMatchFieldSerializer,Ipv4DstMatchFieldSerializer,Ipv4SrcMatchFieldSerializer,Ipv6DstMatchFieldSerializer,Ipv6ExtHdrMatchFieldSerializer,Ipv6FlabelMatchFieldSerializer,Ipv6NdSllMatchFieldSerializer,Ipv6NdTargetMatchFieldSerializer,Ipv6NdTllMatchFieldSerializer,Ipv6SrcMatchFieldSerializer,MetadataMatchFieldSerializer,MplsBosMatchFieldSerializer,MplsLabelMatchFieldSerializer,MplsTcMatchFieldSerializer,PbbIsidMatchFieldSerializer,SctpDstMatchFieldSerializer,SctpSrcMatchFieldSerializer,TcpDstMatchFieldSerializer,TcpFlagsMatchFieldSerializer,TcpSrcMatchFieldSerializer,TunnelIdMatchFieldSerializer,UdpDstMatchFieldSerializer,UdpSrcMatchFieldSerializer,VlanPcpMatchFieldSerializer,VlanVidMatchFieldSerializer
public abstract class AbstractMatchFieldSerializer extends Object implements OFSerializer<SetFieldMatch>
-
-
Constructor Summary
Constructors Constructor Description AbstractMatchFieldSerializer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract intgetOxmClassCode()protected abstract intgetOxmFieldCode()protected abstract intgetValueLength()voidserialize(SetFieldMatch setFieldMatch, io.netty.buffer.ByteBuf byteBuf)Transforms POJO/DTO into byte message (ByteBuf).
-
-
-
Method Detail
-
serialize
public void serialize(SetFieldMatch setFieldMatch, io.netty.buffer.ByteBuf byteBuf)
Description copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
serializein interfaceOFSerializer<SetFieldMatch>- Parameters:
setFieldMatch- object to be serializedbyteBuf- output buffer
-
getOxmClassCode
protected abstract int getOxmClassCode()
-
getOxmFieldCode
protected abstract int getOxmFieldCode()
-
getValueLength
protected abstract int getValueLength()
-
-