The acquireBuffer() function is used to get a buffer message from the application. The data buffer is constructed and passed into the adapter plug-in. This plug-in populates the buffer and returns an indication of whether the loop should continue. After the data buffer is populated, the buffer message is put to the transport.