Midware TAppServer.OnClientClosed

From Overbyte
Revision as of 08:37, 14 May 2011 by Marie (talk | contribs) (→‎Definition)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Main page -> Midware component reference -> TAppServer -> OnClientClose

Definition

<syntaxhighlight lang="delphi">

type TClientEvent = procedure (Sender : TObject;

                         CliWSocket : TClientWSocket) of object;

property OnClientClosed : TClientEvent; </syntaxhighlight>

Description

Occurs when a client disconnect from the server.

The event handler could be used to update the server's user interface or to do any other post-processing or cleaning task.