The declarations in this header file correspond to the definitions in cloudwatch.c.
More...
Go to the source code of this file.
|
typedef struct CloudWatchState | CloudWatchState |
| Forward reference of structure to create pointers later.
|
|
typedef struct CloudWatchState * | CloudWatchHandle |
| Type used as the handle (pointer to an opaque structure) for managing statistics for a connection. Each handle represents a single data flow.
|
|
The declarations in this header file correspond to the definitions in cloudwatch.c.
◆ CloudWatchConfigure()
Configure transfer statistics.
- Parameters
-
handle | The handle of the connection to set statistics configuration. |
stats_config_ptr | Pointer to stats configuration data. |
- Returns
- A value from the CdiReturnStatus enumeration.
◆ CloudWatchCreate()
Create an instance of the statistics component for the specified connection.
- Parameters
-
con_state_ptr | Pointer to connection state data. |
cw_sdk_handle | CloudWatch SDK instance handle |
return_handle_ptr | Address where to write returned statistics handle. |
- Returns
- A value from the CdiReturnStatus enumeration.
◆ CloudWatchDestroy()
Free all resources related to the specified statistics component.
- Parameters
-
handle | Handle of statistics component. |
- Returns
- A value from the CdiReturnStatus enumeration.
◆ CloudWatchStatisticsMessage()
Process a message that contains new statistics to post to CloudWatch.
- Parameters
-
handle | Handle of statistics component. |
stats_count | Number of array items in transfer_stats_array. |
transfer_stats_array | Pointer to start of transfer stats array. |