Acquire mode is used to get data from the application and put that data to a transport. The Adapter Shell running in Acquire mode calls an adapter plug-in. Acquire mode can be run with two different types of data: tree or buffer, each of which is described in more detail in the following sections.
When the user code processes the request, the return option is either TRUE or FALSE. TRUE tells the Adapter Shell to keep calling acquireData() or acquireBuffer(), and FALSE tells the Adapter Shell to stop calling acquireData() or acquireBuffer() to shutdown. After processing all of its requests, the Adapter Shell calls the shutdownAdapter() function, cleans up, and then exits.