Rogue Wave Views Data Access Package API Reference Guide |
Rogue Wave Views Documentation Home |
Database access class. More...
#include <ilviews/dataccess/vsession.h>
Public Member Functions | |
IliSession () | |
This is the default constructor of the IliSession class. | |
IliSession (const IliSession &) | |
This is the copy constructor of the IliSession class. | |
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... | |
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.
© Copyright 2016, 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.