From: kay <ka...@gm...> - 2010-07-31 02:21:18
|
If library do the work, then library should give the chat room information to client to show it in its own way. And client must know the data structures used in the library in order to traverse the list. Is this a good way? I just took a look at the YIM API and didn't find any information about chat room. Thanks --Kay 2010/7/31 Philip Tellis <phi...@gm...> > On 30 July 2010 08:25, kay <ka...@gm...> wrote: > > The question is: who should be responsible for maintaining the chat room > > information > > Now the libyahoo is designed to handle the raw packet to the client and > let > > the client to parse the xml content. The category and chat room > information > > is maintained by the client. > > In this way, libyahoo doesn't know if it has to send the request or use > the > > existing information. > > Thanks, > > you should probably also check if there are any caching HTTP headers > set, since that will tell you how long you should hold on to the list. > I think it's something the library should do. BTW, have you looked > into the new Y!M APIs? > > Philip > |