#include <NetXUdpTransport.h>
◆ Type
◆ NetXUdpTransport()
| NetXUdpTransport::NetXUdpTransport |
( |
NX_IP * | ip_ptr, |
|
|
NX_PACKET_POOL * | pool_ptr ) |
|
inline |
Constructor.
- Parameters
-
| ip_ptr | Pointer to the initialized NetX IP instance. |
| pool_ptr | Pointer to the packet pool for allocating UDP packets. |
◆ ~NetXUdpTransport()
| NetXUdpTransport::~NetXUdpTransport |
( |
| ) |
|
|
inline |
◆ Close()
| void NetXUdpTransport::Close |
( |
| ) |
|
|
inline |
◆ Create()
| int NetXUdpTransport::Create |
( |
Type | type, |
|
|
const char * | addr_str, |
|
|
uint16_t | port ) |
|
inline |
Initialize the UDP socket.
◆ Receive()
Receive data from a remote
- Parameters
-
| [out] | is | The received incoming data bytes, not including the header. |
| [out] | header | Incoming delegate message header. |
- Returns
- 0 if success.
Implements ITransport.
◆ Send()
Send data to a remote
- Parameters
-
| [in] | os | Output stream to send. |
| [in] | header | The header to send. |
- Returns
- 0 if success.
Implements ITransport.
◆ SetRecvTransport()
| void NetXUdpTransport::SetRecvTransport |
( |
ITransport * | rt | ) |
|
|
inline |
◆ SetSendTransport()
| void NetXUdpTransport::SetSendTransport |
( |
ITransport * | st | ) |
|
|
inline |
◆ SetTransportMonitor()
The documentation for this class was generated from the following file: