public final class ListSerializer extends Object
Modifier and Type | Method and Description |
---|---|
static <E extends org.opendaylight.yangtools.yang.binding.DataObject> |
serializeHeaderList(List<E> list,
TypeKeyMaker<E> keyMaker,
SerializerRegistry registry,
io.netty.buffer.ByteBuf outBuffer)
Serializes headers of items in list.
|
static <E extends org.opendaylight.yangtools.yang.binding.DataObject> |
serializeList(List<E> list,
TypeKeyMaker<E> keyMaker,
SerializerRegistry registry,
io.netty.buffer.ByteBuf outBuffer)
Serializes item list.
|
public static <E extends org.opendaylight.yangtools.yang.binding.DataObject> void serializeList(List<E> list, TypeKeyMaker<E> keyMaker, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer)
list
- list of items to be serializedkeyMaker
- creates key for registry lookupregistry
- stores serializersoutBuffer
- output bufferpublic static <E extends org.opendaylight.yangtools.yang.binding.DataObject> void serializeHeaderList(List<E> list, TypeKeyMaker<E> keyMaker, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer)
list
- list of items to be serializedkeyMaker
- creates key for registry lookupregistry
- stores serializersoutBuffer
- output bufferCopyright © 2020 OpenDaylight. All rights reserved.