Re: [Evolution-hackers] CamelStore and service->connect()



Hi Jeff,

On Thu, 2005-08-25 at 11:14 -0400, Jeffrey Stedfast wrote:
> >Is connect() invoke by the store itself, or by an external process?
> >  
> it is invoked at a higher level

OK.

> >I can connect while initiating the store, so I really do not need a
> >specific service->connect() function. Can I make service->connect() be a
> >noop?
> >  
> >
> 
> you should not connect while initialising the store - this operation 
> should not block/wait.

OK.

> >If not, may I keep a pointer to my session in my service instance so
> >that I can query the password during the invocation of connect()?
> >  
> >
> 
> CamelService already has a session pointer...

Bummer... I must have overlooked that. Sometime you just can't see the
forest for trees (does that make sense in English?).


> >Is the return value from connect() just whether there is a present live
> >connection or not?
> >
> 
> it returns whether or not connect() succeeded (e.g. the store is now in 
> the connected state)

OK.

Thanks a lot,
  jules





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]