HDLC-Daemon
|
Class HdlcdSessionDescriptor. More...
#include <HdlcdSessionDescriptor.h>
Public Member Functions | |
HdlcdSessionDescriptor (E_SESSION_TYPE a_eSessionType, uint8_t a_SessionFlags) | |
The constructor of HdlcdSessionDescriptor objects. More... | |
HdlcdSessionDescriptor (uint8_t a_ServiceAccessPointSpecifier) | |
The constructor of HdlcdSessionDescriptor objects. More... | |
operator uint8_t () const | |
Query the service access point specifier octett. More... | |
E_SESSION_TYPE | GetSessionType () const |
Query the session type. More... | |
bool | DeliversRcvdData () const |
Query whether data packets sent by a device to the HDLCd should be delivered. More... | |
bool | DeliversSentData () const |
Query whether data packets sent by the HDLCd to a device should be delivered. More... | |
bool | DeliversInvalidData () const |
Query whether invalid data packets with a broken CRC checksum should be delivered. More... | |
Class HdlcdSessionDescriptor.
This is a convenience class to assemble the service access point specifier byte (SAP) of the HDLCd access protocol. The use of enums allows a human-readable specification of sessions.
Definition at line 89 of file HdlcdSessionDescriptor.h.
|
inline |
The constructor of HdlcdSessionDescriptor objects.
This constructor is used to assemble the service access point specifier as a combination of enums
a_eSessionType | the session type enum |
a_SessionFlags | a combination of E_SESSION_FLAGS enums |
Definition at line 98 of file HdlcdSessionDescriptor.h.
|
inlineexplicit |
The constructor of HdlcdSessionDescriptor objects.
This constructor is used to parse the service access point specifier using the assembled octett
a_ServiceAccessPointSpecifier | the service access point specifier octett |
Definition at line 118 of file HdlcdSessionDescriptor.h.
|
inline |
Query whether invalid data packets with a broken CRC checksum should be delivered.
true | invalid data packets with a broken CRC checksum should be delivered |
false | invalid data packets with a broken CRC checksum should be ignored |
Definition at line 168 of file HdlcdSessionDescriptor.h.
|
inline |
Query whether data packets sent by a device to the HDLCd should be delivered.
true | data packets received from the HDLCd should be delivered |
false | data packets received from the HDLCd should be ignored |
Definition at line 148 of file HdlcdSessionDescriptor.h.
|
inline |
Query whether data packets sent by the HDLCd to a device should be delivered.
true | data packets sent to a device should be delivered |
false | data packets sent to a device should be ignored |
Definition at line 158 of file HdlcdSessionDescriptor.h.
|
inline |
Query the session type.
Definition at line 138 of file HdlcdSessionDescriptor.h.
|
inline |
Query the service access point specifier octett.
Definition at line 130 of file HdlcdSessionDescriptor.h.