Class ListDeserializer
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.util.ListDeserializer
-
public final class ListDeserializer extends Object
Deserializes list.- Author:
- michal.polkorab
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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).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.
-
-
-
Method Detail
-
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 versionlength
- length of list in ByteBuf (bytes)input
- input bufferkeyMaker
- creates keys for deserializer lookupregistry
- 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 versionlength
- length of list in ByteBuf (bytes)input
- input bufferkeyMaker
- creates keys for deserializer lookupregistry
- stores deserializers- Returns:
- list of items
-
-