company logo

Application :: mainClient - Provide main client

While running an application, there is only one main client created for the application. The main client will be removed, when shutting down the application.

Return value:  Client handle ( odaba::Client  )

The client handle refers to an (usually) opened ODABA client. Calling functions with invalid client handles may cause an exception. For checking the client handle, isValid() can be called.

Implementation details

odaba::Client Application  :: mainClient (  )

The function returns a main client handle. When no main client has been created so far, the function creates the main client.