Class AbstractIpv4PrefixEntrySerializer

    • Constructor Detail

      • AbstractIpv4PrefixEntrySerializer

        protected AbstractIpv4PrefixEntrySerializer​(int oxmClassCode,
                                                    int oxmFieldCode)
    • Method Detail

      • extractEntryMask

        protected final Integer extractEntryMask​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix entry)
        Description copied from class: AbstractMatchEntrySerializer
        Extract the mask contained in an entry.
        Specified by:
        extractEntryMask in class AbstractMatchEntrySerializer<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix,​Integer>
        Parameters:
        entry - entry to examine
        Returns:
        Mask, null if not present
      • serializeEntry

        protected final void serializeEntry​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix entry,
                                            Integer mask,
                                            io.netty.buffer.ByteBuf outBuffer)
        Description copied from class: AbstractMatchEntrySerializer
        Extract the corresponding entry from a match.
        Specified by:
        serializeEntry in class AbstractMatchEntrySerializer<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix,​Integer>
        Parameters:
        entry - entry to serialize
        mask - mask as extracted from entry
        outBuffer - output buffer