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

Main Page   Class Hierarchy   Compound List   Compound Members  

ConnectionPtr Class Reference

Smart pointer for the Connection class. More...


Detailed Description

Smart pointer for the Connection class.

It is a template instantiation of SoamSmartPtr.

When the last smart pointer that refers to the underlying connection object is released, the Connection::close() method will be invoked and the underlying connection 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:
Connection::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.