A structure defined by the Wrapper API for managing a connection.
A structure defined by the Wrapper API for managing a connection.The code that manages the BP_CONNECTION structure is called the wrapper. Its responsibilities include mapping of channel numbers to profile-instances, mapping of URIs to profile registrations, and invoking profiles at the appropriate time as messages arrive on the socket. It also manages input/output threads, profile threads, and locks to prevent conflicts. It manages tuning resets and graceful termination of sessions and controls. Finally, the wrapper indirectly manages any information that is inter-channel in nature, such as the SASL identity, the TLS encryption keys, and any other information a profile might wish to make available to other profiles.