HDLC-Daemon
|
Class HdlcdPacket. More...
#include <HdlcdPacket.h>
Public Member Functions | |
virtual E_HDLCD_PACKET | GetHdlcdPacketType () const |
![]() | |
Frame () | |
The constructor of Frame objects. More... | |
virtual | ~Frame () |
The destructor of Frame objects. More... | |
virtual const std::vector< unsigned char > | Serialize () const =0 |
The purely virtual serializer method. More... | |
size_t | BytesNeeded () const |
Query the amount of outstanding data during reception for frame assembly. More... | |
bool | ParseBytes (const unsigned char *a_ReadBuffer, size_t &a_ReadBufferOffset, size_t &a_BytesAvailable) |
Deliver a chunk of received bytes in the phase of deserialization. More... | |
Additional Inherited Members | |
![]() | |
virtual bool | Deserialize ()=0 |
The purely virtual deserializer method. More... | |
![]() | |
std::vector< unsigned char > | m_Buffer |
The buffer containing partly received frames or higher-layer payload. More... | |
size_t | m_BytesRemaining |
The amount of bytes required to finalize frame assembly during reception. More... | |
Class HdlcdPacket.
This is the base class for all packet types of the HDLCd access protocol. This base class inherits from the Frame class and thus allows easy exchange via FrameEndpoint entities.
Definition at line 64 of file HdlcdPacket.h.
|
inlinevirtual |
Definition at line 66 of file HdlcdPacket.h.