## Uses of Interface
com.h3c.of.lib.OfpCodeBasedEnum

- Packages that use OfpCodeBasedEnum
  Package | Description
  --- | ---
  com.h3c.of.ctl.pipeline | Definitions for conveying OpenFlow switch pipeline definitions and capabilities.
  com.h3c.of.lib | OpenFlow Protocol Library.
  com.h3c.of.lib.err | OpenFlow Error Type enumerations.
  com.h3c.of.lib.instr | Representations of OpenFlow Protocol Instructions and Actions.
  com.h3c.of.lib.match | Representations of OpenFlow Protocol Match Structures.
  com.h3c.of.lib.mp | Representations of OpenFlow Protocol Multipart Message bodies.
  com.h3c.of.lib.msg | Representations of OpenFlow Protocol Messages.

- - ### Uses of OfpCodeBasedEnum in com.h3c.of.ctl.pipeline

    Methods in com.h3c.of.ctl.pipeline with parameters of type OfpCodeBasedEnum
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | TableContext.`supportsCapability(TableFeaturePropType prop, OfpCodeBasedEnum code)` Returns true if the context supports given capability-code combination.

    Method parameters in com.h3c.of.ctl.pipeline with type arguments of type OfpCodeBasedEnum
    Modifier and Type | Method and Description
    --- | ---
    `MutableTableContext` | MutableTableContext.`addCapability(TableFeaturePropType prop, Set<? extends OfpCodeBasedEnum> caps)` Adds the given capability to the context.

  - ### Uses of OfpCodeBasedEnum in com.h3c.of.lib

    Classes in com.h3c.of.lib with type parameters of type OfpCodeBasedEnum
    Modifier and Type | Class and Description
    --- | ---
    `class` | `OfpCodeBasedCodec<E extends OfpCodeBasedEnum>` Provides an implementation of an integer based bitmap to enum-set coder/decoder (codec) which can handle differences across OpenFlow versions.

    Constructors in com.h3c.of.lib with parameters of type OfpCodeBasedEnum
    Constructor and Description
    `OfpCodeBasedCodec(int[] masks, E[] flagSet)` Constructs the codec, which squirrels away the bit masks and flag set for use during the `AbstractBitCodec.encode(java.util.Set<E>, com.h3c.of.lib.ProtocolVersion)` and `AbstractBitCodec.decode(int, com.h3c.of.lib.ProtocolVersion)` methods.

  - ### Uses of OfpCodeBasedEnum in com.h3c.of.lib.err

    Subinterfaces of OfpCodeBasedEnum in com.h3c.of.lib.err
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ErrorCode` Tag interface for error code enumerations.

    Classes in com.h3c.of.lib.err that implement OfpCodeBasedEnum
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ECodeBadAction` Designates the error codes associated with the `ErrorType.BAD_ACTION` error type.
    `class` | `ECodeBadInstruction` Designates the error codes associated with the `ErrorType.BAD_INSTRUCTION` error type.
    `class` | `ECodeBadMatch` Designates the error codes associated with the `ErrorType.BAD_MATCH` error type.
    `class` | `ECodeBadRequest` Designates the error codes associated with the `ErrorType.BAD_REQUEST` error type.
    `class` | `ECodeFlowModFailed` Designates the error codes associated with the `ErrorType.FLOW_MOD_FAILED` error type.
    `class` | `ECodeGroupModFailed` Designates the error codes associated with the `ErrorType.GROUP_MOD_FAILED` error type.
    `class` | `ECodeHelloFailed` Designates the error codes associated with the `ErrorType.HELLO_FAILED` error type.
    `class` | `ECodeMeterModFailed` Designates the error codes associated with the `ErrorType.METER_MOD_FAILED` error type.
    `class` | `ECodePortModFailed` Designates the error codes associated with the `ErrorType.PORT_MOD_FAILED` error type.
    `class` | `ECodeQueueOpFailed` Designates the error codes associated with the `ErrorType.QUEUE_OP_FAILED` error type.
    `class` | `ECodeRoleRequestFailed` Designates the error codes associated with the `ErrorType.ROLE_REQUEST_FAILED` error type.
    `class` | `ECodeSwitchConfigFailed` Designates the error codes associated with the `ErrorType.SWITCH_CONFIG_FAILED` error type.
    `class` | `ECodeTableFeaturesFailed` Designates the error codes associated with the `ErrorType.TABLE_FEATURES_FAILED` error type.
    `class` | `ECodeTableModFailed` Designates the error codes associated with the `ErrorType.TABLE_MOD_FAILED` error type.
    `class` | `ErrorType` Designates the type of error; Since 1.0.

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

    Classes in com.h3c.of.lib.instr that implement OfpCodeBasedEnum
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ActionType` Denotes the different actions that can be associated with flow entries, groups or packets.
    `class` | `InstructionType` Denotes the different Flow instruction types.

  - ### Uses of OfpCodeBasedEnum in com.h3c.of.lib.match

    Classes in com.h3c.of.lib.match that implement OfpCodeBasedEnum
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MatchType` Denotes the different match types.

  - ### Uses of OfpCodeBasedEnum in com.h3c.of.lib.mp

    Classes in com.h3c.of.lib.mp that implement OfpCodeBasedEnum
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MultipartType` Designates multipart message types; Since 1.3 (but see note).

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

    Classes in com.h3c.of.lib.msg that implement OfpCodeBasedEnum
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ControllerRole` Designates the role of a controller; Since 1.2.
    `class` | `FlowModCommand` Designates flow mod commands; Since 1.0.
    `class` | `FlowRemovedReason` Designates the reason a flow was removed; Since 1.0.
    `class` | `GroupModCommand` Designates group mod commands; Since 1.1.
    `class` | `GroupType` Designates group types; Since 1.1.
    `class` | `HelloElementType` Designates hello message elements; Since 1.3.
    `class` | `MeterBandType` Designates meter band types; Since 1.3.
    `class` | `MeterModCommand` Designates meter mod commands; Since 1.3.
    `class` | `PacketInReason` Designates the reason for the packet-in message; Since 1.0.
    `class` | `PortReason` Designates the reason for port status asynchronous message; Since 1.0.
    `class` | `QueuePropType` Denotes different queue properties.
    `class` | `TableFeaturePropType` Designates feature properties of a table; Since 1.3.

Copyright © 2014. All Rights Reserved.