# Package com.h3c.of.lib.dt

A set of classes representing data values used in the OpenFlow protocol.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  DataPathInfo | Represents information about an OpenFlow datapath.

- Class Summary
  Class | Description
  --- | ---
  BufferId | Represents a buffer identifier (unsigned 32-bit) assigned by datapath.
  DataPathId | Represents a Data Path Identifier; an aggregation of a `virtual identifier` and a `MAC address`.
  DataPathInfoAdapter | An adapter for the `DataPathInfo` API, provided specifically for unit tests to use, to insulate themselves from changes in the API.
  DataPathUtils | Base class for handling datapath mementos.
  GroupId | Represents a group identifier (unsigned 32-bit).
  MeterId | Represents a meter identifier (unsigned 32-bit); Since 1.3.
  QueueId | Represents a queue identifier (unsigned 32-bit).
  TableId | Represents a table identifier (unsigned 8-bit); Since 1.0.
  VId | Represents a virtual identifier (unsigned 16-bit).

## Package com.h3c.of.lib.dt Description

A set of classes representing data values used in the OpenFlow protocol.

These classes are based on the "Cacheable Data Type" design and provide the following benefits:

- Type-safety in API definitions
- Instances are immutable (and thus inherently threadsafe)
- Instances are Serializable so can be passed from VM to VM
- `equals()` and `hashCode()` have been overridden to ensure instances play nicely with the Collection framework
- The `Comparable` interface has been implemented to provide an "intuitive" sort order
- `valueOf()` static methods allow for creation of instances from a variety of "external" representations
- `toType()` instance methods convert back to "external" representations
- Under-the-covers memory footprint optimizations

Copyright © 2014. All Rights Reserved.