Re: [Evolution-hackers] [CAMEL] How do I cleanly force a connect?



On Mon, 2005-11-07 at 18:41 +0530, Parthasarathi Susarla wrote:
> On Mon, 2005-11-07 at 13:46 +0100, Jules Colding wrote:
> > Hi,
> > 
> > My Camel provider toward Exchange needs (at the moment) to be connected
> > at all times, as it is only accessible as a remote resource. How do I
> > cleanly force Camel into connecting unconditionally before retrieving
> > any data from my provider, such as with get_folder_info()?
> 
> Check if you are connected to the server and if you are not, call the
> connect method.

OK. I thought that was the brute-force approach. It would be nice if
there was some provider flag to set that mandated a connection. I more
or less assumed that CAMEL_PROVIDER_IS_REMOTE should do that.

Thanks,
  jules





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