Midware TAppSrvClient.OnSessionConnected

From Overbyte
Jump to navigation Jump to search

Main page -> Midware component reference -> TAppSrvClient -> OnSessionConnected

Definition

<syntaxhighlight lang="delphi"> type TSessionConnected = procedure (Sender: TObject; Error: word) of object;

property OnSessionConnected : TSessionConnected; </syntaxhighlight>

Description

Occurs when connection is established with application server.

The event OnSessionConnected is triggered when the connection has been established with the application server. The event handler is the right place to update some status bar to let the user know he is connected with the server.