Information for sending data. More...
#include <DatagramInterface.h>
Public Types | |
| enum | { DC_NONE , DC_NODE_CONF , DC_CLIENT_CONF } |
| Deliver PDUs in order. More... | |
Public Member Functions | |
| DataRequest () | |
| explicit confirm mode | |
Data Fields | |
| const char * | buf |
| size_t | len |
| Pointer to data to be transferred. | |
| const struct sockaddr * | daddr |
| Number of bytes to be transferred. | |
| socklen_t | dalen |
| Destination address. | |
| void * | pduref |
| Length of destination address. | |
| bool | usearq |
| Reference for this PDU. | |
| bool | inorder |
| Use ARQ mode if available. | |
| enum Datagram::DataRequest:: { ... } | confmode |
| Deliver PDUs in order. | |
Detailed Description
Information for sending data.
Definition at line 56 of file DatagramInterface.h.
Member Enumeration Documentation
◆ anonymous enum
| anonymous enum |
Deliver PDUs in order.
| Enumerator | |
|---|---|
| DC_NODE_CONF | Force off. |
| DC_CLIENT_CONF | Force to node. Force to client |
Definition at line 64 of file DatagramInterface.h.
Constructor & Destructor Documentation
◆ DataRequest()
|
inline |
explicit confirm mode
Definition at line 69 of file DatagramInterface.h.
Field Documentation
◆ buf
| const char* Datagram::DataRequest::buf |
Definition at line 57 of file DatagramInterface.h.
◆ len
| size_t Datagram::DataRequest::len |
Pointer to data to be transferred.
Definition at line 58 of file DatagramInterface.h.
Referenced by Datagram::DgramPoll::actualDeliver(), and Datagram::DgramPoll::tidy().
◆ daddr
| const struct sockaddr* Datagram::DataRequest::daddr |
Number of bytes to be transferred.
Definition at line 59 of file DatagramInterface.h.
◆ dalen
| socklen_t Datagram::DataRequest::dalen |
Destination address.
Definition at line 60 of file DatagramInterface.h.
◆ pduref
| void* Datagram::DataRequest::pduref |
Length of destination address.
Definition at line 61 of file DatagramInterface.h.
◆ usearq
| bool Datagram::DataRequest::usearq |
Reference for this PDU.
Definition at line 62 of file DatagramInterface.h.
◆ inorder
| bool Datagram::DataRequest::inorder |
Use ARQ mode if available.
Definition at line 63 of file DatagramInterface.h.
The documentation for this struct was generated from the following file: