Client :: assign - Assign ODABA client handle
The function assigns the ODABA client to another client handle. Before assigning the client, the currently referenced client handle is closed.
The function is called implicitly when assigning clients in OSI environment,
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
The function assigns the ODABA client to the current client handle. When a client has been created for the source the client is referenced in the target handle as well. When no client is opened for the source handle the target client handle will be empty as well.
- cClient
- Client handle
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.