# Uses of Package
com.h3c.of.common

- Packages that use com.h3c.of.common
  Package | Description
  --- | ---
  com.h3c.of.common | Code shared by the OpenFlow Controller and Mock OpenFlow Switch implementations.
  com.h3c.of.sw | Provides mock implementations of OpenFlow switches.

- Classes in com.h3c.of.common used by com.h3c.of.common
  Class and Description
  AbstractMsgAssertor A simple abstract base class for making assertions about an openflow message.
  MessageSink Defines the interface between the `OpenflowController` and the layer above it.
  ProgrammableSink A utility implementation of the `MessageSink` interface which can be used in unit tests of OpenFlow message interactions.

- Classes in com.h3c.of.common used by com.h3c.of.sw
  Class and Description
  OfmDecoder Part of a `ChannelPipeline` - decodes a byte stream as an `OpenflowMessage`.
  OfmEncoder Part of a `ChannelPipeline` - encodes an `OpenflowMessage` into a byte-array-backed `ChannelBuffer`.

Copyright © 2014. All Rights Reserved.