# Package com.h3c.of.common

Code shared by the OpenFlow Controller and Mock OpenFlow Switch implementations.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  MessageSink | Defines the interface between the `OpenflowController` and the layer above it.

- Class Summary
  Class | Description
  --- | ---
  AbstractMsgAssertor | A simple abstract base class for making assertions about an openflow message.
  HandshakeLogic | Provides common algorithms that both controller and switch need to utilize.
  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`.
  ProgrammableSink | A utility implementation of the `MessageSink` interface which can be used in unit tests of OpenFlow message interactions.

## Package com.h3c.of.common Description

Code shared by the OpenFlow Controller and Mock OpenFlow Switch implementations.

Copyright © 2014. All Rights Reserved.