Project

General

Profile

Feature #2308

Updated by Junxiao Shi almost 10 years ago

Allow I'm proposing to implement something like Connection::isConnected() and ScopedConnection::isConnected() method, so it is possible to check whether a `Connection` connection is still connected. 

 ``` 
 bool 
 Connection::isConnected() const; 

 bool 
 ScopedConnection::isConnected() const; 
 ``` actually connected to something. 

 This could be useful in cases when it is desirable to avoid multiple connections.

Back