To designate which communications support is used to process a specific cooperative flow occurs when the client or proxy is generated.
Review the discussion in the Communications Runtime section of the chapter "Anatomy of a DP Application." It is a target DPS's execution environment that dictates which transport protocol a given client can use to facilitate the processing of a cooperative flow to a given target server. At Generation Time, the communications type of a specific cooperative flow determines the Server Environment settings that are associated with the Server Manager that contains the target DPS.
The communication type that can be designated for a Server Manager corresponds to one of the supported Communications Runtimes. The following list includes communication types that can be designated for one or more Server Manager execution environments:
Note: CA Gen in the preceding list refers to the CA Gen Client Manager.
In addition to the communications type, any pertinent arguments that are required by the associated communications runtime can be included as part of the Server Environment settings that are associated with each Server Manager. In addition to designating the communications type, a CA Gen model contains a unique set of communications attributes that can be set for each Server Manager and its associated Procedure Steps.
A CA Gen application developer can use the Toolset or CSE Properties dialogs to specify the communications attributes for each transport.
Example:
The communications type and communication attributes to be used for a given flow is taken from the settings that are contained in the model and captured in generated code at the moment in time when a client application or proxy is generated. The current communication settings that are associated with a target DPS are provided to the generator. The resulting generated code contains the communications type and attribute values to be used at runtime when the client flows to the target DPS.
When the generated code is built, the communications type and associated attributes are built into the resulting application. The Generation Time Configuration provides the basis of how the application was designed to run by the application developer. The application developer generates an application to execute in a particular target execution environment.
CA Gen provides facilities to override the Generation Time Configuration at execution time. The override to the generation time configuration takes place in the client application early in the processing of a cooperative flow. The execution-time configuration is described in the following section. The circumstances in which using execution-time configuration is not possible appear in the following list:
|
Copyright © 2014 CA.
All rights reserved.
|
|