Class ListSerializer
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.util.ListSerializer
-
public final class ListSerializer extends Object
Serializes list items and their headers.- 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>
voidserializeHeaderList(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>
voidserializeList(List<E> list, TypeKeyMaker<E> keyMaker, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer)
Serializes item list.
-
-
-
Method Detail
-
serializeList
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)
Serializes item list.- Parameters:
list
- list of items to be serializedkeyMaker
- creates key for registry lookupregistry
- stores serializersoutBuffer
- output buffer
-
serializeHeaderList
public static <E extends org.opendaylight.yangtools.yang.binding.DataObject> void serializeHeaderList(List<E> list, TypeKeyMaker<E> keyMaker, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer)
Serializes headers of items in list.- Parameters:
list
- list of items to be serializedkeyMaker
- creates key for registry lookupregistry
- stores serializersoutBuffer
- output buffer
-
-