| CDI SDK
    SDK for transporting chunks of data reliably and with low latency using a polled mode network driver. | 
This file contains the definitions that dynamically test CDI functionality. This may include features such as enabling/disabling connections, reconfigurating statistics gathering, changing payload configurations, exercising corner cases and injecting error conditions. More...
| Data Structures | |
| struct | StatsData | 
| Structure used to hold state data for the dynamic statistics reconfiguration test used by TestDynamicStatsReconfigure().  More... | |
| struct | EndpointData | 
| Structure used to hold state data for the dynamic statistics reconfiguration test used by TestDynamicStatsReconfigure().  More... | |
| struct | TestDynamicState | 
| Structure used to hold state data for dynamic tests.  More... | |
| Enumerations | |
| enum | TestStatsState { kStatsModeChangeInterval , kStatsModeDisable , kStatsModeSetOriginalSettings , kStateModeLast } | 
| Enums used to indicate configuration change states.  More... | |
| enum | TestEndpointState { kEndpointEnabled , kEndpointDisabled , kEndpointLast } | 
| Enums used to indicate configuration change states.  More... | |
| Functions | |
| static bool | StatisticsReconfigure (TestDynamicHandle handle) | 
| bool | TestDynamicCreate (TestConnectionInfo *connection_info_ptr, TestDynamicHandle *return_handle_ptr) | 
| void | TestDynamicDestroy (TestDynamicHandle handle) | 
| bool | TestDynamicPollStatsReconfigure (TestDynamicHandle handle) | 
| bool | TestDynamicEndpoints (TestDynamicHandle handle) | 
| bool | TestDynamicIsEndpointEnabled (TestDynamicHandle handle, int stream_index) | 
This file contains the definitions that dynamically test CDI functionality. This may include features such as enabling/disabling connections, reconfigurating statistics gathering, changing payload configurations, exercising corner cases and injecting error conditions.
| enum TestEndpointState | 
| enum TestStatsState | 
| 
 | static | 
Apply statistics reconfiguration, based on current test state.
| handle | Handle of the test dynamic component. | 
| bool TestDynamicCreate | ( | TestConnectionInfo * | connection_info_ptr, | 
| TestDynamicHandle * | return_handle_ptr ) | 
Create an instance of the test dynamic component for the specified connection.
| connection_info_ptr | Pointer to connection state data. | 
| return_handle_ptr | Address where to write returned handle. | 
| void TestDynamicDestroy | ( | TestDynamicHandle | handle | ) | 
Free all resources related to the specified test dynamic component.
| handle | Handle of the test dynamic component. | 
| bool TestDynamicEndpoints | ( | TestDynamicHandle | handle | ) | 
Dynamically test endpoint creation/destruction by using the SDK CdiAvmTxStreamEndpointCreate() and CdiAvmStreamEndpointDestroy() APIs.
| handle | Handle of the test dynamic component. | 
| bool TestDynamicIsEndpointEnabled | ( | TestDynamicHandle | handle, | 
| int | stream_index ) | 
Determine if dynamic endpoint is enabled or not.
| handle | Handle of the test dynamic component. | 
| stream_index | Zero-based index of the stream to check. | 
| bool TestDynamicPollStatsReconfigure | ( | TestDynamicHandle | handle | ) | 
Dynamically test statistics configuration changes by using the SDK CdiCoreStatsReconfigure() API function.
| handle | Handle of the test dynamic component. |