Agent Interaction Java API 7.6 Agent Server Code Examples


Any authorized distribution of any copy of this code (including any related documentation) must reproduce the following restrictions, disclaimer and copyright notice:
The Genesys name, trademarks and/or logo(s) of Genesys shall not be used to name (even as a part of another name), endorse and/or promote products derived from this code without prior written permission from Genesys Telecommunications Laboratories, Inc.
The use, copy, and/or distribution of this code is subject to the terms of the Genesys Developer License Agreement. This code shall not be used, copied, and/or distributed under any other license agreement.

THIS CODE IS PROVIDED BY GENESYS TELECOMMUNICATIONS LABORATORIES, INC. (“GENESYS”) “AS IS” WITHOUT ANY WARRANTY OF ANY KIND. GENESYS HEREBY DISCLAIMS ALL EXPRESS, IMPLIED, OR STATUTORY CONDITIONS, REPRESENTATIONS AND WARRANTIES WITH RESPECT TO THIS CODE (OR ANY PART THEREOF), INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. GENESYS AND ITS SUPPLIERS SHALL NOT BE LIABLE FOR ANY DAMAGE SUFFERED AS A RESULT OF USING THIS CODE. IN NO EVENT SHALL GENESYS AND ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, ECONOMIC, INCIDENTAL, OR SPECIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, ANY LOST REVENUES OR PROFITS).

Copyright © 2007-2008 Genesys Telecommunications Laboratories, Inc. All rights reserved.

For more information on this example, consult Agent Interaction Java API 7.6 Developer’s Guide.

Table of Contents


Introduction

The Agent Interaction Java API 7.6 Agent Server code example show you how to implement a jsp server based on Agent Interaction Java API, and how to make use of the monitor service available through Agent Interaction Java API. This example also demonstrates how to extend an application block.

With this code example, you can start and stop Agent Server through a web browser. Once started, Agent Server displays available agents with their status, and a list of default place. Then, you can perform login or logout actions by specifying agent data, except place to be used. Agent Server will assign a place to log the agent in.
For more information about the examples, click here.

Setup

Running Agent Server

    Once Agent Server starts, it tooks a few minutes to collect data and display both agent and place information. Do not attempt login or logout actions if data are not available.

    Warning: To perform login and logout actions, Agent Server uses a list of default places. If you did not define a few default places for your agents in the Configuration Layer, you will not be able to perform login actions.