The following example demonstrates the procedure to create and use a simple client program. While very basic, this example illustrates the essential elements of a client application and some of the fundamental capabilities offered by the SDK, including:
compiling the IDL file into an includable module.
creating a CORBA object and using the IOR string in a keyfile named
aaS_FluentId.txt to connect to a remote
session.
obtaining a scheme controller object from the Fluent as a Server session.
loading a case file from the client machine into the Fluent as a Server session.
send TUI commands to the remote session and retrieve the output.
download files from the remote Fluent as a Server machine to the client machine.
Exit when no more files are requested. The remote Fluent as a Server session is left running.
For reference, the example is performed on a 64–bit Windows 7 and makes use of the following 3rd party software:
Python 2.6 64–bit
omniORBpy 3.5