Authentication |
STDMETHODIMP GetAuthChallenge(BSTR* challenge, LONG* returnValue) | Return value |
STDMETHODIMP SetAuthResponse(BSTR response, LONG* returnValue) | Return value |
|
ServerConnector object/interface |
STDMETHODIMP CServerConnector::CreateSignals(VARIANT signalNames, VARIANT* results, LONG* returnValue) | Return value 999999999 = authentication failed -2 = signalNames is not safearray of VT_BSTR -3 = other problems with signalNames safearray 0 = success
Results is safearray of VT_I4, and array elements may have the values of |
CServerConnector::CreateSignals2 | Return value 999999999 = authentication failed -2 = signalFlags is not safearray of VT_I4 -3 = other problems with signalNames safearray 0 = success
Results is safearray of VT_I4, and array elements may have the values of |
STDMETHODIMP CServerConnector::ReleaseSignals(VARIANT signalNames, VARIANT* results, LONG* returnValue) | Return value 999999999 = authentication failed -2 = signalNames is not safearray of VT_BSTR -3 = other problems with signalNames safearray 0 = success
Results is safearray of VT_I4, and array elements may have the values of |
STDMETHODIMP CServerConnector::UpdateSignals(VARIANT signalNames, VARIANT signalValues, VARIANT* results, LONG* returnValue) | Return value 999999999 = authentication failed -2 = signalNames is not safearray of VT_BSTR -3 = other problems with signalNames safearray -4 = problem with signalValues safearray -5 = signalNames and signalValues safearray differ in number of elements 0 = success
Results is safearray of VT_I4, and array elements may have the values of |
STDMETHODIMP CServerConnector::WriteAsyncRequestResult(BSTR asyncID, VARIANT results, LONG* returnValue) | Return value |
STDMETHODIMP CServerConnector::GetAllSessionGUIDs(VARIANT* sessionGUIDs, LONG* returnValue) | Return value |
STDMETHODIMP CServerConnector:: GetConnectedSignals (LONG changeOnly, VARIANT* signalNames, VARIANT* connectStates, LONG* returnValue) | Return value Parameters: changeOnly is currently reserved signalNames contain names of the signals that changed since last call of GetConnectedSignals connectedStates contains connection status of the signal. -1 means that signal is not “owned” by the particular ServerConnector any more, 0 or positive value contains number of the clients connected
If there are no changes since the last call to GetConnectedSignals than signalNames and connectedStates are VT_EMPTY |
CServerConnector::TheName | Return value |
CServerConnector::Shutdown | Return value |
|
ClientConnector object/interface |
STDMETHODIMP CClientConnector::Connect(BSTR sessionGUID, LONG* returnValue) | Return value 999999999 = authentication failed -1 = sessionGUID is empty -2 = sessionGUID is already used by some other client or webservice connector object 0 = success
|
STDMETHODIMP CClientConnector::Disconnect(LONG* returnValue) | Return value |
STDMETHODIMP CClientConnector::RegisterSignals(VARIANT signalNames, VARIANT* results, LONG* returnValues) | Return value 999999999 = authentication failed -1 = Connect failed or was not executed or Disconnect was executed -2 = signalNames is not safearray of VT_BSTR -3 = other problems with signalNames safearray 0 = success
Results is safearray of VT_I4, and array elements may have the values of 0 = success 1 = signal already used (registered) by this connector object ( but still success ) 2 = success, but signal not “owned” by any server connector
|
STDMETHODIMP CClientConnector::UnRegisterSignals(VARIANT signalNames, VARIANT* results, LONG* returnValue) | Return value 999999999 = authentication failed -1 = Connect failed or was not executed or Disconnect was executed -2 = signalNames is not safearray of VT_BSTR -3 = other problems with signalNames safearray 0 = success
Results is safearray of VT_I4, and array elements may have the values of |
STDMETHODIMP CClientConnector::ReadSignals(VARIANT signalNames, VARIANT* signalValues, VARIANT* results, LONG* returnValue) | Return value 999999999 = authentication failed 999999998 = no valid license -2 = signalNames is not safearray of VT_BSTR -3 = other problems with signalNames safearray 0 = success
Results is safearray of VT_I4, and array elements may have the values of -1 = signal nonexistent ( never ever registered by any server/client/webservice connector ) or not owned by any ServerConnector anymore 0 = success
|
STDMETHODIMP CClientConnector::WriteSignals(BSTR clientToken, VARIANT signalNames, VARIANT signalValues, VARIANT* results, LONG* returnValue) | Return value 999999999 = authentication failed 999999998 = no valid license -2 = signalNames is not safearray of VT_BSTR -3 = other problems with signalNames safearray -4 = problem with signalValues safearray -5 = signalNames and signalValues safearray differ in number of elements 0 = success
Results is safearray of VT_I4, and array elements may have the values of 0 = success -1 = signal nonexistent ( never ever registered by any server/client/webservice connector ) -2 = signal not “owned” by any server connector -98 = server connector terminating ( this should not probably be seen ) -99 = OnWriteAsyncRequest failed to be executed -100 = timeout of the WriteAsyncRequestResult call -101 = reserved, should not happen -102 = OnWriteAsyncRequest method sends results which cannot be converted to the integer array -103 = OnWriteAsyncRequest method sends results in the integer array of incorrect size
any other value = value from results parameter of OnWriteRequest event |
CClientConnector::TheName | Return value |
|
WebServiceConnector object/interface |
STDMETHODIMP CWebServiceConnector::Connect(BSTR sessionGUID, LONG* returnValue) | Return value 999999999 = authentication failed -1 = sessionGUID is empty -200 = sessionGUID is already used for this webservice connector object -201 = sessionGUID is already used by some other client or webservice connector object 0 = success
|
STDMETHODIMP CWebServiceConnector::Disconnect(BSTR sessionGUID,LONG* returnValue) | Return value 999999999 = authentication failed -1 = sessionGUID is empty -200 = sessionGUID not found 0 = success
|
STDMETHODIMP CWebServiceConnector::RegisterSignals(BSTR sessionGUID, VARIANT signalNames, VARIANT* results, LONG* returnValues) | Return value 999999999 = authentication failed -1 = unknown sessionGUID : Connect failed or was not executed or Disconnect was executed -2 = signalNames is not safearray of VT_BSTR -3 = other problems with signalNames safearray 0 = success
Results is safearray of VT_I4, and array elements may have the values of 0 = success 1 = signal already used (registered) by this sessionGUID defined connector object ( but still success ) 2 = success, but signal not “owned” by any server connector
|
STDMETHODIMP CWebServiceConnector::UnRegisterSignals(BSTR sessionGUID, VARIANT signalNames, VARIANT* results, LONG* returnValue) | Return value 999999999 = authentication failed -1 = unknown sessionGUID : Connect failed or was not executed or Disconnect was executed -2 = signalNames is not safearray of VT_BSTR -3 = other problems with signalNames safearray 0 = success
Results is safearray of VT_I4, and array elements may have the values of |
STDMETHODIMP CWebServiceConnector::ReadSignals(BSTR sessionGUID, VARIANT signalNames, VARIANT* signalValues, VARIANT* results, LONG* returnValue) | Return value 999999999 = authentication failed 999999998 = no valid license -1 = unknown sessionGUID : Connect failed or was not executed or Disconnect was executed -2 = signalNames is not safearray of VT_BSTR -3 = other problems with signalNames safearray 0 = success
Results is safearray of VT_I4, and array elements may have the values of |
STDMETHODIMP CWebServiceConnector::WriteSignals(BSTR sessionGUID, VARIANT signalNames, VARIANT signalValues, VARIANT* results, LONG* returnValue) | Return value 999999999 = authentication failed 999999998 = no valid license -1 = unknown sessionGUID : Connect failed or was not executed or Disconnect was executed -2 = signalNames is not safearray of VT_BSTR -3 = other problems with signalNames safearray -4 = problem with signalValues safearray -5 = signalNames and signalValues safearray differ in number of elements 0 = success
Results is safearray of VT_I4, and array elements may have the values of 0 = success -1 = signal nonexistent ( never ever registered by any server/client/webservice connector ) -2 = signal not “owned” by any server connector -98 = server connector terminating ( this should not probably be seen ) -99 = OnWriteAsyncRequest failed to be executed -100 = timeout of the WriteAsyncRequestResult call -101 = reserved, should not happen -102 = OnWriteAsyncRequest method sends results which cannot be converted to the integer array -103 = OnWriteAsyncRequest method sends results in the integer array of incorrect size
|
STDMETHODIMP CWebServiceConnector::GetUpdates(BSTR sessionGUID, LONG requestID, LONG* responseID, VARIANT* signalNames, VARIANT* signalValues, LONG* returnValue) | Return value 999999999 = authentication failed 999999998 = no valid license -1 = unknown sessionGUID : Connect failed or was not executed or Disconnect was executed 0 = success
signalNames is safearray of VT_VARIANT, may be empty variant signalValues is safearray of VT_VARIANT, may be empty variant |
CWebServiceConnector::TheName | Return value |
|
CBrowseConnector object/interface |
CBrowseConnector::GetSignals | Return value |