The SessionManager::Manager interface is used for interacting with a server. To create a Manager instance, you must identify a server listener using a URL of the format:
protocol://host:port
where:
protocol is iiop or iiops.
Use iiops for connections to
secure iiop listeners.
host is the server’s host machine name or IP address.
port is the listener’s port number.
Pass the URL to the string_to_object method to convert the URL string into a Manager instance, as shown in the following example. The object returned by string_to_object must be narrowed to the SessionManager/Manager interface.
Dim orb As ORB
Dim Manager As Manager
Dim obj as Object
... deleted orb initialization ...
Set obj = orb.string_to_object(
"iiop://puddle:9000")
Set Manager = obj.Narrow_("SessionManager/Manager")
...