Breadcrumbs

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

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

Specify a period of time in seconds defining the sleep time.

any integer

highResolutionTime

Integer

in

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

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

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

The distinct ID of the thread.

any string

timeout

Integer

in

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png

Specify a period of time in milliseconds defining the thread timeout.

any integer



Related Pages: