Dataflow Runtime API
3.1.1.0
|
This layer receives a byte stream from a lower layer and tries to generate data frames out of the byte streams data. More...
#include <Imt.Base.Lib.Remoting/DataFrameSyncReceiveLayer.h>
Public Member Functions | |
DataFrameSyncReceiveLayer (DataReceiverIfc &upperLevelReceiver, const uint8_t frameEndCharacter=static_cast< uint8_t >('~')) | |
Constructor. More... | |
virtual | ~DataFrameSyncReceiveLayer (void) |
Destructor. More... | |
virtual void | onDataReceived (const uint8_t *const pData, const uint32_t countDataBytes) |
Public Member Functions inherited from imt::base::lib::remoting::DataReceiverIfc | |
virtual | ~DataReceiverIfc (void) |
Destructor. More... | |
This layer receives a byte stream from a lower layer and tries to generate data frames out of the byte streams data.
Characters in the user data that conflict with the special characters used for frame end marking are escaped. The technique used to ommit conflicts of the special characters with the user data is often referenced as byte stuffing or character stuffing.
|
explicit |
Constructor.
upperLevelReceiver | Interface to the next higher receiver layer |
frameEndCharacter | optional frame end character, default is '~'. |
|
virtual |
Destructor.
|
virtual |
Implements imt::base::lib::remoting::DataReceiverIfc.