Prev Up Next Index
Go backward to 2.1 Connect
Go up to 2 Managing Connections
Go forward to 3 Using the DODS Library Classes

2.2 Connections

The class Connections is used to manage a set of instances of the class Connect by providing a means to map an index or opaque pointer to an instance of Connect.

When a new instance of Connect (or a descendent of Connect; See Section 3.2) is created, it is added to the Connections object using the add_connect member function. add_connect returns an integer that can be used to access that instance of Connect at any time. Similarly, when an instance of Connect is to be deleted, the object can be referred to via the Connections object and this index.


Tom Sgouros, July 2, 2004

Prev Up Next