10.07.2015 Views

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7Chapter 7.BuddyList serviceThis chapter discusses the BuddyList service component. This service is awrapper for the storage service and is used only for handling the user buddylist.Using this service eliminates the need for a developer to know the exact formatof the buddylist, as it saved on the server. Our purpose in this chapter is topresent you with an easier way to perform the same actions of working with thestorage service directly, but with less coding and with no internal knowledgeregarding the attribute format in the server. The BuddyList service is availableonly for the C++ and Java APIs.In this chapter, we will enhance the Extended Live Names sample, which isprovided with the C++ Toolkit. We build upon the existing sample by describinghow to perform the following additional actions using the BuddyList service:► Loading the user buddylist after a successful login►►Handling the case where the buddylist does not exist on the server (forexample, the first time that the user logs in)Saving the buddylist after every update by the user (for example,adding/removing people)Note: For the purposes of this redbook, we will only work with peoplecontained in private groups. (As will be explained later in the chapter, publicgroups are handled quite differently and therefore do not apply to thisdiscussion.)© Copyright <strong>IBM</strong> Corp. 2003. All rights reserved. 163

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!