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:[email protected]

Reply via email to