Minor model refactor
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / serialization / factories / OF10FlowModInputMessageFactory.java
index e4c1d583c307c3a2b618004e0df2e1ca748420e7..7fe217a6a5e725bd3f55074eed4358a1671808d5 100644 (file)
@@ -57,12 +57,12 @@ public class OF10FlowModInputMessageFactory implements OFSerializer<FlowModInput
         out.writeInt(message.getBufferId().intValue());
         out.writeShort(message.getOutPort().getValue().intValue());
         out.writeShort(createFlowModFlagsBitmask(message.getFlagsV10()));
-        OF10ActionsSerializer.encodeActionsV10(out, message.getActionsList());
+        OF10ActionsSerializer.encodeActionsV10(out, message.getAction());
     }
 
     @Override
     public int computeLength(FlowModInput message) {
-        return MESSAGE_LENGTH + OF10ActionsSerializer.computeActionsLength(message.getActionsList());
+        return MESSAGE_LENGTH + OF10ActionsSerializer.computeActionsLength(message.getAction());
     }
 
     @Override