ContentsIndexHome
PreviousUpNext
IConfig.setTimeout Method

Sets the time (in seconds) to wait for calls over the communication layer to return. The default value is 10 seconds. 

 

Java
void setTimeout(int Timeout);
Parameters 
Description 
int Timeout 
The Timeout in seconds.
 

The configured timeout applies only to the standard network communication. There are three cases in which a specific timeout can or must be given:

  • Updating all data at once: the configured timeout serves as a default here. If there are many data to update, this might be too strict. Give a higher timeout if this is the case.
  • Running a procedure: provide a timeout for each run, or wait unconditionally until the procedure has finished.
  • Opening the session: configure this with the ConnectTimeOut option.