Mark Allanson (marke) wrote in lj_clients,
Mark Allanson
marke
lj_clients

  • Mood:

syncitems & getevents correlation

I don't normally think of myself as one being dense, however im at a loss as to understand the correllation between the syncitems protocol mode and getevents.


As far as I can tell, syncitems is only really useful for figuring out how many events there are to be synced, and what type each event is, other than that there is really no reason you need to perform a syncitems before performing a getevents.


As far as getevents goes, I just need to pass into it the same lastsync time as i would pass to syncitems to retrieve all the items since the last sync? is this correct?


Im not quite sure why the protocol docs say "use this (selecttype=lastsync) in conjunction with the syncitems protocol mode". Is it saying this just to make sure that the amount of items returned by syncitems = the amount of items returned by getevents? why is it important to match the 2 of them up? surely the "server knows best" hehe


Regards
Mark

Subscribe

  • 302: lj_dev

    In the interests of consolidating all LiveJournal development-related discussion, we're going to be closing down this community. The same…

  • Plain text to LJ

    I have an old blog from xanga that's in html/plain text and I want to move it over here. Which client would be the best to do this? I also want to…

  • ljKlient 0.2.0 Preview Release 1

    Today marks another milestone in the development of ljKlient — as the first preview of the 0.2 series is released.  Please go to the project…

  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 0 comments