Thread control property

The application server can be accessed from a multi-threaded client. However, the application server itself is not multi-threaded. As a result, only one request can be serviced at a time. If a method is made from the client while another one is still running on the application server, the application can decide which of the following should happen:

  • The second call can be queued and executed when the application server becomes available
  • The client can get an exception

The application can set the run-time properties to do either and can switch the setting at any time. The default is to throw an exception (WaitIfBusy=false).

The property in the following table provides thread control to the Open Client Runtime. For a detailed description of this property, see Alphabetical listing of properties.

Table 1. Thread control property
Property Description/Property
WaitIfBusy
Sets and gets PROGRESS.Session.TcpKeepAliveInterval