Dependencies

Nicolas Sebrecht nicolas.s-dev at laposte.net
Thu Feb 17 18:29:02 UTC 2011


On Thu, Feb 17, 2011 at 03:59:11PM +0100, Sebastian Spaeth wrote:
> I try to pass in a configured SSL server fingerprint to our IMAP4 class,
> so we can check if it is the right one.
> 
> Trying to find out what class depends on what, and where it makes sense
> to pass what, I found myself easily confused. For reference, here is an
> image that I made that clarifies (for me) the dependencies between those
> classes.
> (The _* classes have SSL, no SSL and sometimes Tunnel variants).
> Areas indicate class inheritance (e.g. WrappedIMAP4 is inherited from
> IMAP4).
> 
> I have to say, I find that more complex that absolutely needed.

Yes, could be. Thanks for sharing. I wonder if it would worth adding it
in our docs.

> The problem is that we cannot pass in more paramters without adding them
> as parameters along the call chain easily. So I'll think about what we
> should pass where. This is where the thread pooling happens though, an
> area where I am very nervous to make ANY changes...

It will have to change one day! :-)

-- 
Nicolas Sebrecht



More information about the OfflineIMAP-project mailing list