Ultra Light Client Guide and Reference

What happens when a connection fails?

The behaviour of the ULC application when a connection fails depends on whether the application is in client or server mode.

Server mode
If there is no mechanism in place to identify the remote user when the connection is restored and to associate it with a previously running instance of the application, the application just terminates. However, the new Client Reconnect feature enables ULC applications started in server mode to keep the contexts (i.e. state) if a connection fails. This allows the UI Engine (started in client mode) to reconnect to those contexts (which would normally have been terminated). See ULC Client Reconnect Feature for more details.

Client mode
In client mode the behaviour is as follows:

Smalltalk
In Smalltalk the value of ULCSystem.connectionRetries controls the application reconnect behavior. If connectionRetries=0 then the application terminates immediately. If connectionRetries=-1 then the connection will be retried forever. If connectionRetries>0 then the connection will be retried the specified number of times.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]