Specifications
COM+ reference
Gallagher & Robertson Glink: API reference manual 7
Differences from the Glink for Java version
There are very few differences between the Java version of the GlinkApi and
this Windows COM+ component version. Source code that has been written for
one version should be easy to port to the other.
The main difference has to do with GlinkApi session names and configurations,
the reason being that the configuration concept is different in Glink for Java to
that used by Glink for Windows. Glink for Java session names correspond to a
set of 'profile' options configured by the Glink for Java administration program
which are configured and stored on the Glink for Java server. Glink for
Windows session names correspond to configuration files stored locally in the
Glink User directory. This difference affects the following GlinkApi methods:
GlinkApi.sessionName
GlinkApi.getAvailableSessions
GlinkApi.GlinkConfiguration
GlinkConfiguration.getName
GlinkConfiguration.setProfileName
GlinkConfiguration.getProfileName
GlinkConfiguration.setParameter
The session name corresponds to the name of the Glink configuration file with
the ".glinkconfig" part stripped off, for example if you have a configuration file
called "TSS at Phoenix.glinkconfig", then you can tell the GlinkApi to load this
config file by using GlinkApi.sessionName("TSS at Phoenix"). In the same
way, the GlinkApi.getAvailableSessions method will return the list of
configuration files, without the ".glinkconfig" part. This make the names more
'user-friendly' if the list is to be displayed in a list box.
When you use the GlinkApi.GlinkConfiguration constructor to create a new
configuration object, the first parameter (the session name) may be an existing
Glink configuration file. If so, then that file will be used as the initial
configuration parameters. If not, then Glink default values will be used.
GlinkConfiguration.getProfileName and GlinkConfiguration.setProfileName
have no effect in the Windows version as Glink for Windows has no concept of
profiles.