4. Designing and Writing OpenROAD Server Applications : OpenROAD Parameter Data COM Object : COM (Non-OpenROAD) Client ASO Session Object
 
Share this page                  
COM (Non-OpenROAD) Client ASO Session Object
From a non-OpenROAD client, two alternative driver objects provide the methods that allow a client to connect to a desired OpenROAD application image and to call 4GL procedures in that application image. These are the RemoteServer Object and the ASO Session Object. This section describes the ASO Session Object. It is implemented as an in-process server DLL and registered under the COM PROGID OpenROAD.ASOSession.
The ASO Session Object is a helper object that drives an instance of a RemoteServer Object (see COM (Non-OpenROAD) Client Remote Server Object (see COM (Non-OpenROAD) Client Remote Server Object)), but it also automates client-side OSCA-style error handling and ASOLib persistent session context handling. It enables OSCA error handling to be exploited with stateless applications and stateful ASOLib applications.
An existing Remote Server Object can be attached if required.
Methods
Methods provided by the ASOSession COM object include the following:
Connect
AttachRSO
DefineBPM
CallProc
Disconnect
Properties
Properties of the ASOSession COM object include the following:
RSO
i_error_no
i_error_type
v_msg_txt
i_client_type
i_user_id
i_user_name
v_ip_address
Each of these methods and properties is described in the sections that follow.