GetAsyncConnectStatus
Applicable Products
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
x |
|
x |
|
x |
Note: For
Function Description
Obtains the status of the specified asynchronous connection.
Prototype
1 | Status GetAsyncConnectStatus(const AscendString &remote_engine, AsyncConnectStatus &status) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
remote_engine |
Input |
Unique identifier of the remote HIXL instance. |
status |
Output |
Asynchronous connection status. The enumerated values are as follows:
|
Example
Click GitCode, select the matching version, and obtain the sample from the examples/cpp directory.
Returns
- SUCCESS: Success.
- Other values: Failure.
Constraints
- Before calling this API, call the Initialize API to complete initialization.
- The return value of the API only indicates whether the API call is successful. The status of the asynchronous connection establishment/disconnection task is indicated by the output parameter.
Parent topic: HIXL APIs