The Monitor Client Library functions require establishing an Adaptive Server Enterprise Monitor connection. The Adaptive Server Enterprise Monitor connection uses one or more Open Client connections depending upon the connection type.
The two types of Monitor connections are Live mode and Historical mode:
Live mode connects to Monitor Server and Adaptive Server. It provides access to performance data.
Historical mode connects to Historical Server and either records performance data for later access or plays back recorded data.
Connecting to a server is a three-step process. An application:
Allocates a connection structure
Sets properties for the connection, if necessary
Logs in to a server