![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <service/phy/copper/Handler.hpp>

Public Member Functions | |
| virtual void | onData (const wns::osi::PDUPtr &data, double ber, bool collision)=0 |
| Receive data from lower PHY layer. | |
| virtual | ~Handler () |
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.
| virtual wns::service::phy::copper::Handler::~Handler | ( | ) | [inline, virtual] |
Definition at line 42 of file Handler.hpp.
| virtual void wns::service::phy::copper::Handler::onData | ( | const wns::osi::PDUPtr & | data, | |
| double | ber, | |||
| bool | collision | |||
| ) | [pure virtual] |
| [in] | data | Data that is delivered to the DataHandler. |
| [in] | ber | Bit Error Rate of this PDU |
| [in] | collision | Collision on the wire? |
Implemented in glue::convergence::Lower2Copper.
1.5.5