Ditto 4.1.0
List of all members
ditto::AttachmentFetcher Class Reference

These objects are returned by calls to Collection::fetch_attachment. More...

#include <AttachmentFetcher.hpp>

Inheritance diagram for ditto::AttachmentFetcher:
ditto::Observer

Additional Inherited Members

- Public Member Functions inherited from ditto::Observer
void stop ()
 Stops the observation and cleans up all associated resources.
 
- Protected Member Functions inherited from ditto::Observer
 Observer ()
 Constructs a new Observer.
 
 ~Observer ()
 Destroy the Abstract Observer object canceling the observer if it hasn't been done in stop
 

Detailed Description

These objects are returned by calls to Collection::fetch_attachment.

They must be kept alive for as long as you wish to observe updates about the associated attachment.

If you wish to cancel fetching an attachment, or once you've fetched an attachment successfully, you should call stop on this object.