Thread Adapter Reference
Parameters
Action <<CreateThread>>
Name | Type | Direction | Description | Allowed Values |
---|---|---|---|---|
threadID | String | out | For every thread a distinct ID is automatically generated. | any string |
The createThread action has no default input parameters, you can define as many input parameters as needed.
Action <<BlockThread>>
Name | Type | Direction | Mandatory | Description | Allowed Values | |
---|---|---|---|---|---|---|
time | Integer | in | Specify a period of time in seconds defining the sleep time. | any integer | ||
highResolutionTime | Integer | in | Specify a period of time in milliseconds defining the sleep time. | any integer |
Specify either time or highResolutionTime or both. If you do not specify any of the two, an exception "Sleep time is missing" will be thrown during execution of the service.
Action <<WaitForThread>>
Name | Type | Direction | Mandatory | Description | Allowed Values |
---|---|---|---|---|---|
threadID | String | in | The distinct ID of the thread. | any string | |
timeout | Integer | in | Specify a period of time in milliseconds defining the thread timeout. | any integer |