java.lang.Object
org.opendaylight.openflowjava.protocol.impl.deserialization.match.OxmDeserializerHelper

public final class OxmDeserializerHelper extends Object
Utilities for Oxm deserialization.
Author:
michal.polkorab
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
    convertMacAddress(io.netty.buffer.ByteBuf input)
    Converts binary data into mac address.
    static byte[]
    convertMask(io.netty.buffer.ByteBuf input, int matchEntryLength)
    Converts binary data into binary mask (for match entries).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • convertMask

      public static byte[] convertMask(io.netty.buffer.ByteBuf input, int matchEntryLength)
      Converts binary data into binary mask (for match entries).
      Parameters:
      input - input ByteBuf
      matchEntryLength - mask length
      Returns:
      binary mask
    • convertMacAddress

      public static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress convertMacAddress(io.netty.buffer.ByteBuf input)
      Converts binary data into mac address.
      Parameters:
      input - input ByteBuf
      Returns:
      mac address