Poco::MongoDB

class PooledConnection

Library: MongoDB
Package: MongoDB
Header: Poco/MongoDB/PoolableConnectionFactory.h

Description

Helper class for borrowing and returning a connection automatically from a pool.

Constructors

PooledConnection inline

PooledConnection(
    Poco::ObjectPool < Connection, Connection::Ptr > & pool
);

Destructor

~PooledConnection virtual inline

virtual ~PooledConnection();

Securely control IoT edge devices from anywhere   Connect a Device