Asynchronous read and write operations use application threads, network threads, and circular buffers to exchange data between a PowerExchange client and PowerExchange Listener.
The following steps summarize the asynchronous read process:
The application thread on the PowerExchange Listener writes data to the circular buffer on the PowerExchange Listener.
The network thread on the PowerExchange Listener reads data from the circular buffer and sends the data across the network.
The network thread on the PowerExchange client reads data from the network and writes the data to the circular buffer on the PowerExchange client.
The application thread on the PowerExchange client reads the data from the circular buffer and processes the data.
The following steps summarize the asynchronous write process:
The application thread on the PowerExchange client writes data to the circular buffer on the PowerExchange client.
The network thread on the PowerExchange client reads data from the circular buffer and sends the data across the network.
The network thread on the PowerExchange Listener reads data from the network and writes the data to the circular buffer on the PowerExchange Listener.
The application thread on the PowerExchange Listener reads the data from the circular buffer and writes the data to the target.