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.

Similar to the customer chat window, we use the ChatArea class to display thechat transcript and standard AWT components for the input field and buttons.The Send button performs the same function, sending a line of text to thecustomer. The Send Page button brings up a dialog box with a predefined list ofURLs to send the customer. The Hang Up button terminates the chat, and theSelect All and Copy buttons allow the agent to easily copy the contents of thechat transcript to the clipboard.Agent attributesThe agent applet sets the attributes shown in Table B-2.Table B-2 Agent applet attributesAttribute constant ID Type DescriptionSTATE 1 INT Applet state(1=ready,2=responding tochat, and3=chatting)NAME 2 STRING Agent nameCUSTOMER_NAME 3 STRING Name of thecurrent customerCOMPANY 4 STRING Company name ofthe currentcustomerAgent state machineThe agent applet has three states, as shown in Figure B-8 on page 464.Appendix B. Online customer support application example 463

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

Saved successfully!

Ooh no, something went wrong!