Difference between revisions of "Midware TAppServer.OnClientClosed"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> Midware component reference -> TAppServer -> [[Midware_TAppServer.OnClientClose | OnClientC…')
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
== Definition ==
 
== Definition ==
  
  '''property''' OnClientClose: '''TClientEvent''';
+
  <syntaxhighlight lang="delphi">
 +
type
 +
TClientEvent = procedure (Sender    : TObject;
 +
                          CliWSocket : TClientWSocket) of object;
 +
 
 +
property OnClientClosed : TClientEvent;
 +
</syntaxhighlight>
  
 
== Description ==
 
== 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.
+
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.

Latest revision as of 08:37, 14 May 2011

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.