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:
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.
Note | 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. |