Default experimenters moved to separate bundle + unit tests
[openflowjava.git] / openflow-protocol-ext / src / main / java / org / opendaylight / openflowjava / protocol / ext / serialization / OF10VendorActionSerializer.java
@@ -6,23 +6,27 @@
  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
  */\r
 \r
-package org.opendaylight.openflowjava.protocol.impl.serialization.experimenters;\r
+package org.opendaylight.openflowjava.protocol.ext.serialization;\r
 \r
 import io.netty.buffer.ByteBuf;\r
 \r
 import org.opendaylight.openflowjava.protocol.api.extensibility.OFSerializer;\r
-import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;\r
+import org.opendaylight.openflowjava.protocol.ext.util.ExtConstants;\r
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.augments.rev131002.ExperimenterAction;\r
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.actions.grouping.Action;\r
 \r
+/**\r
+ * @author michal.polkorab\r
+ *\r
+ */\r
 public class OF10VendorActionSerializer implements OFSerializer<Action> {\r
 \r
     @Override\r
     public void serialize(Action action, ByteBuf outBuffer) {\r
         int startIndex = outBuffer.writerIndex();\r
-        outBuffer.writeShort(EncodeConstants.EXPERIMENTER_VALUE);\r
+        outBuffer.writeShort(ExtConstants.EXPERIMENTER_VALUE);\r
         int lengthIndex = outBuffer.writerIndex();\r
-        outBuffer.writeShort(EncodeConstants.EMPTY_LENGTH);\r
+        outBuffer.writeShort(ExtConstants.EMPTY_LENGTH);\r
         ExperimenterAction experimenter = action.getAugmentation(ExperimenterAction.class);\r
         outBuffer.writeInt(experimenter.getExperimenter().intValue());\r
         byte[] data = experimenter.getData();\r