/mcpFinesse Requests finesse.info.requests Topic Name Gadgets publish to this topic. Topic Type Communication between gadgets and the Finesse Desktop or other gadgets is done through inter-gadget notification via OpenAjax Hub. A gadget can send an operation request to the Finesse Desktop by publishing a request object to the Finesse request topic. The gadget must construct an object to be published to the request topic with the following structure: { type: string, data: object } The type parameter describes the request type. The data parameter provides additional information for the Finesse Desktop to respond to the request. The contents of this data depends on the type of request. The following sections describe the different types of requests supported. More request types may be added in the future. Note ConnectionInfoReq Sending an "ConnectionInfoReq" request forces the Finesse Desktop to publish a connection information object to all gadgets subscribed to the finesse.info.connection topic. This request allows gadgets to determine the current state of the XMPP connection and retrieve the resource ID. The gadget must be subscribed to the connectionInfo topic to receive the event. The gadget should publish the following object to the topic finesse.info.requests: { type: “ConnectionInfoReq”, data: { } } It is possible that the gadget may come up before the Finesse Desktop is ready to start responding to a request to send connection information. For this reason, gadgets should subscribe to the finesse.info.connection topic regardless. When the Finesse Desktop or gadget is ready, it starts publishing connection information immediately. The topic finesse.info.connection is shared across all subscribed gadgets. Gadgets that subscribe to this topic may receive duplicate notifications. Gadgets must be able to handle duplicate notifications appropriately. Note Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 398 Finesse Desktop Gadget Development Finesse Requests