dxFeed Graal Native SDK 3.14.0-rc2
Loading...
Searching...
No Matches
dxfg_v4_connection_error_t Struct Reference

A connection error of a message connector (dxfg_v4_MessageConnector_getLastError(), dxfg_v4_DXEndpoint_getLastConnectionError()). More...

#include <dxfg_v4_message_connector.h>

Data Fields

int64_t time
const char * address
int32_t category
int32_t dropped
const char * exception_class_name
const char * message
int64_t count

Detailed Description

A connection error of a message connector (dxfg_v4_MessageConnector_getLastError(), dxfg_v4_DXEndpoint_getLastConnectionError()).

A copy: it does not change when the connector records a newer error. The SDK allocates it with its strings: release it with dxfg_v4_ConnectionError_release().

Experimental
It may change or be removed in a minor release, see The v4 functions.
Since
3.14.0

Field Documentation

◆ address

const char* dxfg_v4_connection_error_t::address

The address the connector was configured with (UTF-8), credentials masked: for a multi-host address the whole list, not the host that failed.

◆ category

int32_t dxfg_v4_connection_error_t::category

The category: one of the DXFG_V4_CONNECTION_ERROR_* values; treat an unknown value as other.

◆ count

int64_t dxfg_v4_connection_error_t::count

The number of errors of the connector up to this one, since the SDK started to watch it.

◆ dropped

int32_t dxfg_v4_connection_error_t::dropped

1 if an established connection was dropped, 0 if a connect attempt failed.

◆ exception_class_name

const char* dxfg_v4_connection_error_t::exception_class_name

The class name of the Java exception (UTF-8), e.g. java.net.ConnectException; NULL when there is none.

◆ message

const char* dxfg_v4_connection_error_t::message

The message of the exception, or of QD's log record when there is no exception (UTF-8), credentials masked, at most 256 characters; NULL when there is none.

◆ time

int64_t dxfg_v4_connection_error_t::time

The time of the error, in milliseconds since the epoch (UTC).


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