Events

Top  Previous  Next

These are the events that can be handled from the Thinfinity® VirtualUI™ for FireMonkey® SDK.

 

Event

Parameters

When it is triggered

onServerConnecting

reconnecting

This event is fired during the server connection establishment.

The reconnecting argument informs whether this is a reconnection or a first-time connection.

onQueryDisconnect

-

Anytime the Web client is about to be disconnected, the 'onQueryDisconnect' will

be triggered. It is intended to validate with the user if the disconnection is desired.

onServerConnect

-

The 'onServerConnect' event is fired every time a 'connect' command is exchanged between the browser and the Thinfinity® VirtualUI™ for FireMonkey® Server. It is a way of making sure the server received a sent 'connect' command.

onSessionStart

-

This event will be fired when the client session has been started on Thinfinity® VirtualUI™ for FireMonkey® Server.

 

onServerConnectionError

errMessage

If an error prevents the client connection to be established, this event will be fired. The errMessage argument brings the error message.

onServerDisconnect

-

Anytime the Web client gets disconnected from the Thinfinity® VirtualUI™ for FireMonkey® server, the 'onServerDisconnect' will be fired. It could be triggered because the connection was lost incidentally or also because the user disconnected from the server on purpose.