opensubscriber
   Find in this group all groups
 
Unknown more information…

e : evolution-hackers@lists.ximian.com 26 August 2005 • 2:54PM -0400

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

REPLY TO AUTHOR
 
REPLY TO GROUP




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


_______________________________________________
evolution-hackers maillist  -  evolution-hackers@list...
http://lists.ximian.com/mailman/listinfo/evolution-hackers

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.