Class AbstractPortNumberWithMaskEntrySerilizer

    • Constructor Detail

      • AbstractPortNumberWithMaskEntrySerilizer

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

      • serializeEntry

        protected void serializeEntry​(Layer4Match entry,
                                      org.opendaylight.yangtools.yang.common.Uint16 mask,
                                      io.netty.buffer.ByteBuf outBuffer)
        Description copied from class: AbstractMatchEntrySerializer
        Extract the corresponding entry from a match.
        Specified by:
        serializeEntry in class AbstractMatchEntrySerializer<Layer4Match,​org.opendaylight.yangtools.yang.common.Uint16>
        Parameters:
        entry - entry to serialize
        mask - mask as extracted from entry
        outBuffer - output buffer
      • extractPort

        protected abstract org.opendaylight.yangtools.yang.common.Uint16 extractPort​(Layer4Match entry)
      • extractMask

        protected abstract org.opendaylight.yangtools.yang.common.Uint16 extractMask​(Layer4Match entry)