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
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract int
protected abstract int
protected abstract int
void
serialize
(SetFieldMatch setFieldMatch, io.netty.buffer.ByteBuf byteBuf) Transforms POJO/DTO into byte message (ByteBuf).
-
Constructor Details
-
AbstractMatchFieldSerializer
public AbstractMatchFieldSerializer()
-
-
Method Details
-
serialize
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Specified by:
serialize
in 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()
-