Integratec API Platform
|
OPAPI OPBOOL opClientConnectionOpen | ( | wchar_t * | ip, |
int32_t | port, | ||
OPAPIStatusCallback | statusCallback, | ||
OPAPIHandle * | connection, | ||
wchar_t ** | brokerId, | ||
wchar_t ** | errorMsg | ||
) |
Opens and registers a client connection to a master.
[in] | ip | Master IP address, host name or endpoint. |
[in] | port | Master TCP port. |
[in] | statusCallback | Callback function that receives status updates for in progress requests. |
[out] | connection | Handle representing the client connection. |
[out] | brokerId | Identity of the broker connected to. |
[out] | errorMsg | Error message describing the failure, set if the function fails. |