company logo

Client :: close - Close client handle

The client handle is a reference to a client object. When closing the last client handle referring to the client object, the client object will be disconnected. When the client object is connected to a server, disconnecting the client from the server will close all dictionaries and databases opened for the client. Thus, database resources associated with the client are not available any longer.

Implementation details

Client  :: close (  )

The function closes the client. Closing the client will not close dictionaries and databases opened locally. Those should be closed explicitly before closing the client.

When the client handle is not valid or closing fails, the function throws an exception.