Function client_call_method_async

Function Documentation

ECAL_API bool client_call_method_async(ECAL_HANDLE handle_, const char *method_name_, const char *request_, const int request_len_, const int timeout_)

Call method of this service (asynchronously with callback).

Parameters
  • handle_ – Client handle.

  • method_name_ – Method name.

  • request_ – Request message buffer.

  • request_len_ – Request message length.

  • timeout_ – Maximum time before operation returns (in milliseconds, -1 means infinite).

Returns

True if succeeded.