Class AbstractMacAddressFilterEntrySerializer<E extends MacAddressFilter>

    • Constructor Detail

      • AbstractMacAddressFilterEntrySerializer

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

      • extractEntryMask

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

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