Visit Platform at http://www.platform.com

Main Page   Class Hierarchy   Compound List   Compound Members  

SessionPtr Class Reference

Smart pointer for the Session class. More...


Detailed Description

Smart pointer for the Session class.

It is a template instantiation of SoamSmartPtr.

When the last smart pointer that refers to the underlying session object is released, the Session::close() method will be invoked and the underlying session will be destroyed.

See the C++ samples for a demonstration of how to use this smart pointer in your application.

NOTE: If any of the methods of this class are called after the main(...) method exits, the client or service process may behave in an undefined manner (for example, hang or terminate abnormally).

See also:
Session::close



     
Date Modified: 28 Apr 2011
Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Platform Computing. Accelerating Intelligence(TM).
Copyright © 2001-2009 Platform Computing Corporation. All rights reserved.