## Uses of Class
com.h3c.of.lib.instr.InstructionType

- Packages that use InstructionType
  Package | Description
  --- | ---
  com.h3c.of.lib.instr | Representations of OpenFlow Protocol Instructions and Actions.
  com.h3c.of.lib.msg | Representations of OpenFlow Protocol Messages.

- - ### Uses of InstructionType in com.h3c.of.lib.instr

    Methods in com.h3c.of.lib.instr that return InstructionType
    Modifier and Type | Method and Description
    --- | ---
    `InstructionType` | Instruction.`getInstructionType()` Returns the Instruction type.
    `static InstructionType` | InstructionType.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static InstructionType[]` | InstructionType.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in com.h3c.of.lib.instr with parameters of type InstructionType
    Modifier and Type | Method and Description
    --- | ---
    `static Instruction` | InstructionFactory.`createInstruction(ProtocolVersion pv, InstructionType type)` Creates a CLEAR_ACTIONS instruction.
    `static Instruction` | InstructionFactory.`createInstruction(ProtocolVersion pv, InstructionType type, ExperimenterId eid, byte[] data)` Creates an EXPERIMENTER instruction.
    `static Instruction` | InstructionFactory.`createInstruction(ProtocolVersion pv, InstructionType type, int id, byte[] data)` Creates an EXPERIMENTER instruction.
    `static Instruction` | InstructionFactory.`createInstruction(ProtocolVersion pv, InstructionType type, long metadata, long mask)` Creates a WRITE_METADATA instruction.
    `static Instruction` | InstructionFactory.`createInstruction(ProtocolVersion pv, InstructionType type, MeterId mid)` Creates a METER instruction.
    `static Instruction` | InstructionFactory.`createInstruction(ProtocolVersion pv, InstructionType type, TableId tid)` Creates a GOTO_TABLE instruction.
    `static InstrMutableAction` | InstructionFactory.`createMutableInstruction(ProtocolVersion pv, InstructionType type)` Creates a mutable (action-based) instruction.

    Method parameters in com.h3c.of.lib.instr with type arguments of type InstructionType
    Modifier and Type | Method and Description
    --- | ---
    `static List<Instruction>` | InstructionFactory.`createInstructionHeaders(ProtocolVersion pv, Set<InstructionType> types)` Creates instruction headers to be used in encoding a table features instructions property.

  - ### Uses of InstructionType in com.h3c.of.lib.msg

    Methods in com.h3c.of.lib.msg that return types with arguments of type InstructionType
    Modifier and Type | Method and Description
    --- | ---
    `Set<InstructionType>` | TableFeaturePropInstr.`getSupportedInstructions()` Returns the set of instruction types supported by this table feature; Since 1.3.

    Method parameters in com.h3c.of.lib.msg with type arguments of type InstructionType
    Modifier and Type | Method and Description
    --- | ---
    `static TableFeaturePropInstr` | TableFeatureFactory.`createInstrProp(ProtocolVersion pv, TableFeaturePropType type, Set<InstructionType> ins)` Creates a table features instructions property, for the given protocol version, indicating support for the specified instruction types.
    `static TableFeaturePropInstr` | TableFeatureFactory.`createInstrProp(ProtocolVersion pv, TableFeaturePropType type, Set<InstructionType> ins, List<InstrExperimenter> insExp)` Creates a table features instructions property, for the given protocol version, indicating support for the specified instruction types, as well as the specified experimenter instructions.

Copyright © 2014. All Rights Reserved.