Most Monitor Client Library applications exhibit a logic flow similar to the following:
allocate a connection set properties on the connection connect loop to create views on the connection loop to create filters (optional) loop to create alarms (optional) loop to refresh connection for each view get the row count for each row for each column get the data display the data loop to drop alarms (optional) loop to drop filters (optional) loop to drop views (optional) close monitor connection deallocate or reuse connection
An application can have any number of connections.
A connection can have one or more views.
A view must have one or more data items.
A view can have one filter per data item.
A view can have any number of alarms and can have multiple alarms per data item in the view.
The following sections describe the steps for a basic Monitor Client Library program.The steps are cross referenced to the sample program that follows them.