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 () | |
Initializes a new empty IliSession instance. | |
IliSession (const IliSession ©) | |
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... | |
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.
IliSession::IliSession | ( | const IliSession & | copy | ) |
Initializes a new IliSession
instance as a copy of another one.
copy | The 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.