|
dxFeed Graal Native SDK 3.15.0
|
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 |
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().
| 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.
| int32_t dxfg_v4_connection_error_t::category |
The category: one of the DXFG_V4_CONNECTION_ERROR_* values; treat an unknown value as other.
| 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.
| int32_t dxfg_v4_connection_error_t::dropped |
1 if an established connection was dropped, 0 if a connect attempt failed.
| 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.
| 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.
| int64_t dxfg_v4_connection_error_t::time |
The time of the error, in milliseconds since the epoch (UTC).