Class ActionUtil
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.util.ActionUtil
Utility class for action serialization.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
writeAction
(Action action, org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer) Serialize OpenFlow action, using extension converter if available.static void
writeActionHeader
(Action action, org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer) Serialize OpenFlow action header, using extension converter if available.
-
Method Details
-
writeAction
public static void writeAction(Action action, org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer) Serialize OpenFlow action, using extension converter if available. TODO: Remove also extension converters- Parameters:
action
- OpenFlowPlugin actionversion
- OpenFlow versionregistry
- serializer registryoutBuffer
- output buffer
-
writeActionHeader
public static void writeActionHeader(Action action, org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer) Serialize OpenFlow action header, using extension converter if available. TODO: Remove also extension converters- Parameters:
action
- OpenFlowPlugin actionversion
- OpenFlow versionregistry
- serializer registryoutBuffer
- output buffer
-