public final class ListDeserializer extends Object
Modifier and Type | Method and Description |
---|---|
static <E extends org.opendaylight.yangtools.yang.binding.DataObject> |
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> |
deserializeList(short version,
int length,
io.netty.buffer.ByteBuf input,
CodeKeyMaker keyMaker,
DeserializerRegistry registry)
Deserializes items into list.
|
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)
version
- openflow wire versionlength
- length of list in ByteBuf (bytes)input
- input bufferkeyMaker
- creates keys for deserializer lookupregistry
- stores deserializerspublic 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)
version
- openflow wire versionlength
- length of list in ByteBuf (bytes)input
- input bufferkeyMaker
- creates keys for deserializer lookupregistry
- stores deserializersCopyright © 2020 OpenDaylight. All rights reserved.