Interface to low-level IO provider for sending data and notification of a BusConnector on reception of new data. More...
#include <connector.h>
Public Member Functions | |
virtual void | setListener (BusConnector< Packet > *connector)=0 |
virtual void | send (const void *msg, std::size_t bytes)=0 |
Interface to low-level IO provider for sending data and notification of a BusConnector on reception of new data.
virtual void SCS::NetworkConnector< Packet >::send | ( | const void * | msg, |
std::size_t | bytes | ||
) | [pure virtual] |
msg | pointer to data to send |
bytes | sizeof data to send |
Implemented in SCS::ASIOConnector.
virtual void SCS::NetworkConnector< Packet >::setListener | ( | BusConnector< Packet > * | connector | ) | [pure virtual] |
connector | pointer to an instance to be notified when new packets arrive |
Implemented in SCS::ASIOConnector.