Instruction experimenterId fix
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / keys / InstructionSerializerKey.java
index 2b7df97c23cdcb825da1a73c48831bf43c0ed25c..89f5cbfead224753c5ea94f54ef9ca77ba8f750f 100644 (file)
@@ -8,15 +8,15 @@
 
 package org.opendaylight.openflowjava.protocol.api.keys;
 
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instruction.grouping.InstructionChoice;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instructions.grouping.Instruction;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.InstructionBase;
 
 /**
  * @author michal.polkorab
  * @param <T> instruction type
  */
-public class InstructionSerializerKey<T extends InstructionBase>
-        extends MessageTypeKey<Instruction>{
+public class InstructionSerializerKey<T extends InstructionChoice>
+        extends MessageTypeKey<Instruction> implements ExperimenterSerializerKey {
 
     private Class<T> instructionType;
     private Long experimenterId;