Hi Nitin, If you use multiple threads in your program, then it is possible to make asynchronous calls to the API.
If you're using the Java client library you can set the timeouts for connection requests as per what I mentioned in this thread: http://groups.google.com/group/Google-Docs-Data-APIs/browse_thread/thread/c5dbadca78efc693 I'm sure there are ways to do this sort of thing in the other client libraries as well, by examining their service classes and the system properties they employ when making connections. Let me know if you are unable to figure it out in your language of choice. There is not a way for Google's servers to "push" data to you, but you can use the "updated-min" parameter when polling a feed, as well as the If-Modified-Since header to make an HTTP conditional GET. These will help make your syncing efforts more streamlined. Cheers, -Jeff On Jan 3, 11:25 pm, "Nitin Gupta" <[EMAIL PROTECTED]> wrote: > Hi All, > > I am working on an application in which my server application needs to > connect with the Google calendar application & fetch the data of user's > calendar. I am new to Gdata protocol & its Client libraries. I request you > to guide me on the following mentioned points: > > - Can I create an asynchronous connection with the Google Calendar > server? I mean to say that my application should not wait for a connection > and can proceed with its activities. > > - Is there any connection timeout specified on the Google Calendar > server? If yes, then after what time will my connection will be timed out > without any activity on the Google Calendar server? > > - Is there a way in which my application can be notified of any > changes to the user's calendar on the Google calendar server? Another > approach which I thought was of frequent polling to the calendar server. But > that may not be very efficient. Please let me know if there is any option I > can explore in which my application can remain in sync or can be notified of > any change on the user's calendars. > > Any help will be much appreciated. > > Best Regards, > > Nitin Gupta > > Srishti TechNet Pvt. Ltd. > > B1/168, Paschim Vihar, > > New Delhi - 110063 > > --------------------------------------- > ( Tel: +91 11 45587193 > > Skype: nitin.gupta.183 > > Any comments or statements made in this email are not necessarily those of > Srishti TechNet Pvt. Ltd. The information transmitted is intended only for > the person or entity to which it is addressed and may contain confidential > and/or privileged material. If you have received this in error, please > contact the sender and delete the material from any computer. All e-mails > sent from or to Srishti TechNet Pvt. Ltd. may be subject to our monitoring > procedures --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
