onError
onError — a virtual method invoked on receipt of an error message.
virtual void onError ( | status, | |
| err_str, | ||
| cmd, | ||
parms); |
ST_STATUS status;LPCTSTR err_str;LPCTSTR cmd;LPCTSTR parms;virtual void onError ( | status, | |
| err_str, | ||
| cmd, | ||
parms); |
int status;String err_str;String cmd;String parms;statusThe status code returned by the the DataHub instance.
err_strThe error string, providing more detailed information about the error.
cmdThe original command sent to the DataHub instance to which this reply corresponds.
parmsThe list of parameters sent as part of the command, as a single
space-separated string, or NULL[9] if none are returned. If the command involved multiple
parameters, the list may be truncated.
This virtual method is invoked on receipt of an error message.
getErrString,
onSuccess,
onConnectionSuccess,
onConnectionFailure