High Performance OPC UA Server SDK  1.2.0.193
ua_tcp_connection Struct Reference

Represents an OPC UA TCP protocol connection. More...

#include <uatcp.h>

Data Fields

struct ua_socket tSocket
 The socket to which the connection is assigned to. More...
 
struct ua_tcp_messagepSendMessage
 The current message to be sent. More...
 
struct ua_tcp_messagepRecvMessage
 The current message being received. More...
 
enum ua_tcp_connection_state eState
 The state in which the connection is currently in. More...
 
unsigned char bIsAccepted
 True, if the connection was established by accepting a connect request. More...
 
uint32_t uRequestId
 The highest request id used. More...
 
uint32_t uSeqNumSend
 The next sequence number used for sending. More...
 
uint32_t uSeqNumRecv
 The highest sequence number received. More...
 
bool bSeqNumRecvValid
 The highest sequence number received is valid. More...
 
ua_tcp_event_callback * pfCallback
 Function for reporting connection events. More...
 
void * pvCallbackData
 User data passed to callback function. More...
 
uint32_t nRecvMsgLen
 Maximum message size for unencrypted body. More...
 
uint32_t nRecvBuffer
 Largest chunk peer will send. More...
 
uint32_t nRecvChunkCount
 Max number of received chunks per message. More...
 
uint32_t nSendMsgLen
 Maximum message size for unencrypted body. More...
 
uint32_t nSendBuffer
 Largest chunk allowed to send to peer. More...
 
uint32_t nSendChunkCount
 Max number of chunks per message. More...
 
int prio
 connection priority. More...
 

Detailed Description

Represents an OPC UA TCP protocol connection.

Field Documentation

unsigned char bIsAccepted

True, if the connection was established by accepting a connect request.

bool bSeqNumRecvValid

The highest sequence number received is valid.

enum ua_tcp_connection_state eState

The state in which the connection is currently in.

uint32_t nRecvBuffer

Largest chunk peer will send.

uint32_t nRecvChunkCount

Max number of received chunks per message.

uint32_t nRecvMsgLen

Maximum message size for unencrypted body.

uint32_t nSendBuffer

Largest chunk allowed to send to peer.

uint32_t nSendChunkCount

Max number of chunks per message.

uint32_t nSendMsgLen

Maximum message size for unencrypted body.

ua_tcp_event_callback* pfCallback

Function for reporting connection events.

struct ua_tcp_message* pRecvMessage

The current message being received.

int prio

connection priority.

struct ua_tcp_message* pSendMessage

The current message to be sent.

void* pvCallbackData

User data passed to callback function.

struct ua_socket tSocket

The socket to which the connection is assigned to.

uint32_t uRequestId

The highest request id used.

uint32_t uSeqNumRecv

The highest sequence number received.

uint32_t uSeqNumSend

The next sequence number used for sending.


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