Contents

Code for Asynchronous Component

To generate code for asynchronous component, follow the steps in the Generating Code for the Defined Component section.
The generate command, by default, assumes that the code is generated for the asynchronous component. To particularly specify that the code generated should be for asynchronous component use –language option with value java

Example

The generated component code has the structure as shown in figure below. Description/purpose for each of the files generated are also shown.


Figure 1: Structure of asynchronous component

Code for Synchronous Component

To generate code for synchronous component follow the steps as described in the Generating Code for the Defined Component section specifying –language option with jca value as shown below:

Example

The generated component code has the structure as shown in figure below.


Figure 2: Structure of synchronous component

Code for C Component

To generate code for asynchronous component follow the steps in the Generating Code for the Defined Component section.
Use -language option when generating sources to specify the language used for generating code for the component. A sample command is as shown below.


Figure below shows the structure of the code generated for an asynchronous component defined in C.


Figure 3: Structure of asynchronous component

Code for C++ component

To generate code for asynchronous component follow the steps in the Generating Code for the Defined Component section.
Use -language option to specify the language used for generating code for the component.

Example


Figure below shows the structure of the code generated for an asynchronous component defined in C++.


Figure 4: Structure of asynchronous component

Code for C# Component

To generate code for asynchronous component follow the steps in the Generating Code for the Defined Component section.
Use -language option to specify the language as csharp for generating code for the component.


Figure 5: Structure of asynchronous component

Adaptavist ThemeBuilder EngineAtlassian Confluence