You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Jeremy Wagner <co...@yahoo.com> on 2013/08/29 07:19:19 UTC

Connection questions

Hello everyone, 

Does a copy of a connection still share the same underlying pointer? How about through the assignment operator? Thanks!

Regards,
Jeremy


Re: Connection questions

Posted by Gordon Sim <gs...@redhat.com>.
On 08/29/2013 06:19 AM, Jeremy Wagner wrote:
> Does a copy of a connection still share the same underlying pointer? How about through the assignment operator? Thanks!

Yes, Connections, Sessions, Senders and Receivers are all 'Handles', 
which essentially has a smart pointer to the actual state. So assignment 
or copy constructors give new handles pointing to the same logical entity.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org