User Manual, Developers Guide and API Documentation

wns::service::dll::Handler Class Reference

DLL DataHandler interface. More...

#include <service/dll/Handler.hpp>

Inheritance diagram for wns::service::dll::Handler:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void onData (const wns::osi::PDUPtr &_pdu, wns::service::dll::FlowID _dllFlowID=wns::service::dll::NoFlowID)=0
 Receive data from lower DLL layer.
virtual ~Handler ()
 Destructor.


Detailed Description

DLL components need a callback to deliver incoming data. Users of wns::service::dll::DataTransmission can register such a callback by calling wns::service::dll::DataTransmission::registerDataHandler and passing an implementation of wns::service::dll::DataHandler

Definition at line 46 of file Handler.hpp.


Constructor & Destructor Documentation

virtual wns::service::dll::Handler::~Handler (  )  [inline, virtual]

Definition at line 52 of file Handler.hpp.


Member Function Documentation

virtual void wns::service::dll::Handler::onData ( const wns::osi::PDUPtr _pdu,
wns::service::dll::FlowID  _dllFlowID = wns::service::dll::NoFlowID 
) [pure virtual]

Parameters:
[in] _pdu Data that is delivered to the DataHandler.

Implemented in dll::RANG, constanze::DllListenerBinding, and ip::LowerConvergence.


The documentation for this class was generated from the following file:

Generated on Sun May 27 03:33:05 2012 for openWNS by  doxygen 1.5.5