Class ListDeserializer

java.lang.Object
org.opendaylight.openflowjava.protocol.impl.util.ListDeserializer

public final class ListDeserializer extends Object
Deserializes list.
Author:
michal.polkorab
  • Method Details

    • deserializeList

      public static <E extends org.opendaylight.yangtools.yang.binding.DataObject> List<E> deserializeList(short version, int length, io.netty.buffer.ByteBuf input, CodeKeyMaker keyMaker, DeserializerRegistry registry)
      Deserializes items into list.
      Parameters:
      version - openflow wire version
      length - length of list in ByteBuf (bytes)
      input - input buffer
      keyMaker - creates keys for deserializer lookup
      registry - stores deserializers
      Returns:
      list of items
    • deserializeHeaders

      public static <E extends org.opendaylight.yangtools.yang.binding.DataObject> List<E> deserializeHeaders(short version, int length, io.netty.buffer.ByteBuf input, CodeKeyMaker keyMaker, DeserializerRegistry registry)
      Deserializes headers of items into list (used in MultipartReplyMessage - Table features).
      Parameters:
      version - openflow wire version
      length - length of list in ByteBuf (bytes)
      input - input buffer
      keyMaker - creates keys for deserializer lookup
      registry - stores deserializers
      Returns:
      list of items