User Manual, Developers Guide and API Documentation

wns::service::phy::copper::Handler Class Reference

Interface for wireline receiver. More...

#include <service/phy/copper/Handler.hpp>

Inheritance diagram for wns::service::phy::copper::Handler:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void onData (const wns::osi::PDUPtr &data, double ber, bool collision)=0
 Receive data from lower PHY layer.
virtual ~Handler ()


Detailed Description

Triggers that may be issued by copper

Each trigger here is implemented as a class with a respective method, which may be called by copper PHY and must be handled by the implementation in DLL. Phy Copper components need a callback to deliver incoming data. Users of wns::node::component::phy::copper::Service can register such a callback by calling wns::node::component::phy::copper::Service::registerDataHandler and passing an implementation of wns::node::component::phy::copper::DataHandler

Definition at line 38 of file Handler.hpp.


Constructor & Destructor Documentation

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

Definition at line 42 of file Handler.hpp.


Member Function Documentation

virtual void wns::service::phy::copper::Handler::onData ( const wns::osi::PDUPtr data,
double  ber,
bool  collision 
) [pure virtual]

Parameters:
[in] data Data that is delivered to the DataHandler.
[in] ber Bit Error Rate of this PDU
[in] collision Collision on the wire?
Note:
BER and collision on the wire are handled seperately. If a higher layer detects a collision, it should throw away the packet ...

Implemented in glue::convergence::Lower2Copper.


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