qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Ross <tr...@redhat.com>
Subject Re: C++: proposal to clean up the public API.
Date Mon, 06 Apr 2009 13:39:23 GMT
Alan Conway wrote:
> Public classes should fall into one of the following 3 categories:
>
> Handle: handle to refcounted object (e.g. Connection, Session)
>  - pure pointer to impl (PIMPL) idiom: no data except impl pointer, no 
> virtual functions, no inlines.
>  - qpid::client::Handle provides common base class
>  - defined in client lib, namespace ::qpid::client
>
Could you go into a little more detail on this pattern?  I'm 
particularly interested in the lifecycle of the handle objects and how 
the ref counts are maintained.

Thanks,

-Ted


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message