Important: The information in this document is obsolete and should not be used for new development.
Opening and Closing Providers
To create and open a provider, you use a type-specific provider function--for example, theOTOpenEndpoint
orOTAsyncOpenEndpoint
function creates and opens an endpoint. These functions are included in the chapters describing the various type of providers. When you finish using a provider of any type, always call theOTCloseProvider
function to close and delete the provider.You can also transfer ownership of a provider using the
OTTransferProviderOwnership
function, and theOTWhoAmI
function, to obtain the ID of the current client.