Midware TAppSrvClient.OnSessionConnected

From Overbyte
Revision as of 12:14, 14 May 2011 by Marie (talk | contribs) (→‎Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.