Class ListDeserializer
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.util.ListDeserializer
Deserializes list.
- Author:
- michal.polkorab
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends org.opendaylight.yangtools.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.binding.DataObject>
List<E> deserializeList
(short version, int length, io.netty.buffer.ByteBuf input, CodeKeyMaker keyMaker, DeserializerRegistry registry) Deserializes items into list.
-
Method Details
-
deserializeList
public static <E extends org.opendaylight.yangtools.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.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
-