xorp

IoLinkManagerReceiver Class Reference

Class that implements the API for sending raw link-level packet to a receiver. More...

#include <io_link_manager.hh>

Inheritance diagram for IoLinkManagerReceiver:
IoLinkManager XrlIoLinkManager

List of all members.

Public Member Functions

virtual ~IoLinkManagerReceiver ()
 Virtual destructor.
virtual void recv_event (const string &receiver_name, const struct MacHeaderInfo &header, const vector< uint8_t > &payload)=0
 Data received event.

Detailed Description

Class that implements the API for sending raw link-level packet to a receiver.


Member Function Documentation

virtual void IoLinkManagerReceiver::recv_event ( const string &  receiver_name,
const struct MacHeaderInfo header,
const vector< uint8_t > &  payload 
) [pure virtual]

Data received event.

Parameters:
receiver_namethe name of the receiver to send the raw link-level packet to.
headerthe MAC header information.
payloadthe payload, everything after the MAC header.

Implemented in IoLinkManager, and XrlIoLinkManager.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations