XDK API  3.6.0
Documentation
Data Structures | Data Fields
MsgSendingCtx_S Struct Reference

#include <SDK/xdk110/Libraries/ServalStack/3rd-party/ServalStack/api/Serval_Msg_Obsolete.h>

+ Collaboration diagram for MsgSendingCtx_S:

Data Structures

union  Socket_U
 

Data Fields

CommBuff_T buffer
 
Callable_Tcallback_ptr
 
union MsgSendingCtx_S::Socket_U conn
 
Ip_Address_T destAddr
 
Ip_Port_T destPort
 
bool retx
 
Callable_T sendingFunc
 

Detailed Description

This data structure holds the data needed for sending a message.

It is used by the message sending functions to save and retrieve the details of the sending job between the sending steps, e.g. saving the details before and retrieving them after scheduling the sending procedure.

Field Documentation

CommBuff_T buffer

The handle of the communication buffer which will be allocated at some point of time for serializing and sending the message.

Callable_T* callback_ptr

The callback function which will be invoked after the message has been completely sent.

Ip_Address_T destAddr

The destination IP address. It is just need together with MsgSender_sendToViaUdp(). In the case of MsgSender_sendViaTcp() and MsgSender_sendViaUdp() the destination IP address is attached to the socket.

Ip_Port_T destPort

The destination port. It is just need together with MsgSender_sendToViaUdp(). In the case of MsgSender_sendViaTcp() and MsgSender_sendViaUdp() the destination port is attached to the socket.

bool retx

A flag which indicates the need to re-send the last chunk. This flag will be set when TCP asks for retransmitting the last packet.

Callable_T sendingFunc

A callable function object referencing the sending procedure.


The documentation for this struct was generated from the following file:

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:56 by doxygen 1.8.8