User Manual, Developers Guide and API Documentation

Compound Handler Interface
[The 5 aspects of a FunctionalUnit]

Deal with compounds (inject, drop, mutate) and realise intra layer flow control. More...

Classes

struct  wns::ldk::CompoundHandlerInterface< CLASS >
 Interface for the aspect of dealing with compounds. More...
class  wns::ldk::Delayed< USER >
 Adapter implementing the CompoundHandlerInterface for functional units that have memory.

For documentation see DelayedInterface. More...

struct  wns::ldk::DelayedInterface
 Interface to be implemented by users of the Delayed adapter.

When implementing functional units, you frequently have to implement functional units with some internal memory for compounds. To ease implementation of intra-layer flow control, Delayed implements the CompoundHandlerInterface, and offers a different interface:. More...

class  wns::ldk::Dropper< USER >
 Adapter implementing the CompoundHandlerInterface for processing-only functional units.

For documentation see DropperInterface. More...

struct  wns::ldk::DropperInterface
 Interface to be implemented by users of the Dropper adapter.

To implement functional units that have no internal memory and do PDU mutation and dropping only, you may use the Dropper adapter to get a more suitable interface.
. More...

class  wns::ldk::Forwarding< USER >
 Implement the Processor interface, forwarding packets without mutation. More...
class  wns::ldk::Processor< USER >
 Adapter implementing the CompoundHandlerInterface for processing-only functional units.

For documentation see ProcessorInterface. More...

struct  wns::ldk::ProcessorInterface
 Interface to be implemented by users of the Processor adapter.

To implement functional units that have no internal memory and do PDU mutation only, you may use the Processor adapter to get a more suitable interface.
. More...


Detailed Description

To implement the aspect of dealing with compounds, ldk provides several alternatives. The most basic way is to implement the CompoundHandlerInterface directly. The CompoundHandlerInterface requests you to implement a set of 4 methods. First,

Generated on Wed Feb 8 03:32:27 2012 for openWNS by  doxygen 1.5.5