Rogue Wave Views
Data Access Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IliSession Class Reference

Database access class. More...

#include <ilviews/dataccess/vsession.h>

Inheritance diagram for IliSession:
IliRefCounted IliSQLSession

Public Member Functions

 IliSession ()
 Initializes a new empty IliSession instance.
 
 IliSession (const IliSession &copy)
 Initializes a new IliSession instance as a copy of another one. More...
 
- Public Member Functions inherited from IliRefCounted
IlInt getRefCount () const
 Returns the reference count of the object. Initially, this property is set to 0. More...
 
void lock () const
 Increments the reference count of the object.
 
void unLock () const
 Decrements the reference count of the object. More...
 

Additional Inherited Members

- Protected Member Functions inherited from IliRefCounted
virtual ~IliRefCounted ()
 This is the virtual destructor of the IliRefCounted class. More...
 

Detailed Description

Database access class.

Library: dataccess
The IliSession class defines objects that can connect to, and serve as a communication channel with, a remote system. Session objects are reference counted. This means that many parts of a program can share the same session objects, and explains why session objects are never explicitly deleted. Instead, a session object must be locked before it can be used. It can then be used as long as necessary, until it is unlocked when finished with. In this way, the session object will effectively be deleted when the number of its users is zero.

See also
IliErrorMessage, IliSQLCursor, IliSQLTableRef, IliSQLTableDef, IliSQLTraceOptions, IliSQLQueryConnectFlag.

Constructor & Destructor Documentation

§ IliSession()

IliSession::IliSession ( const IliSession copy)

Initializes a new IliSession instance as a copy of another one.

Parameters
copyThe IliSession that is copied.

© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.