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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 3-8 Buddylist with FAQ Bot onlineIf an end user initiates a chat with the bot, it responds with the welcome textdefined in the getWELCOME_TEXT() method of the FAQBot class. Figure 3-9shows the bot sending the welcome message.Figure 3-9 Bot sends customized greeting in response to imReceived()eventWhen the end user enters a question, the bot calls the doTextReceived() methodto carry out a search on the database and return an answer, if it finds one.Figure 3-10 on page 73 shows the bot returning an answer to a user’s question.72 <strong>Lotus</strong> <strong>Instant</strong> <strong>Messaging</strong>/<strong>Web</strong> <strong>Conferencing</strong> (Sametime): Building Sametime-Enabled Applications

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

Saved successfully!

Ooh no, something went wrong!