Skip to main content

Product: OpenFusion Notification Service

Version: 2.1 and above

 

Description:

How to discover a client's IOR from the connected proxy?

 

Solution:

There is a PrismTech QoS called ConnectedClient. When a proxy is connected to a client, this QoS will hold a reference to the connected client.

Via the Application Manager:
The IOR for the connected client is available in the administration manager. Bring up the Notification Service Manager, and expand the tree to display the proxy you are interested in. Select the proxy by left-clicking on it in the tree, and look at the information on the right. You should see the Consumer IOR listed in a box.

Programmatically:
Call get_qos() on the proxy to return all the QoS properties. You can search through this array, looking for a Property with the name "ConnectedClient". The value of this property will be an object reference. Extracted this reference, and use the ORB's object_to_string() method to produce the IOR.


#OpenFusion
#KnowledgeDocs
#notificationservice