Difference between revisions of "Midware TAppServer.OnClientConnected"
Jump to navigation
Jump to search
(Created page with ' Main page -> Midware component reference -> TAppServer -> [[Midware_TAppServer.OnClientConnected | OnCli…') |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 3: | Line 3: | ||
== Definition == | == Definition == | ||
| − | + | <syntaxhighlight lang="delphi"> | |
| + | type | ||
| + | TClientEvent = procedure (Sender : TObject; | ||
| + | CliWSocket : TClientWSocket) of object; | ||
| + | |||
| + | property OnClientConnected : TClientEvent; | ||
| + | </syntaxhighlight> | ||
== Description == | == Description == | ||
| + | |||
| + | Occurs when a client connect to the server. | ||
This event is triggered when a client connect to the server. It could be used to disconnect unwanted client or any other processing that must be done when a new client connect, such as updating the server user interface to show how many clients are connected. | This event is triggered when a client connect to the server. It could be used to disconnect unwanted client or any other processing that must be done when a new client connect, such as updating the server user interface to show how many clients are connected. | ||
Latest revision as of 08:33, 14 May 2011
Main page -> Midware component reference -> TAppServer -> OnClientConnected
Definition
<syntaxhighlight lang="delphi"> type TClientEvent = procedure (Sender : TObject;
CliWSocket : TClientWSocket) of object;
property OnClientConnected : TClientEvent; </syntaxhighlight>
Description
Occurs when a client connect to the server.
This event is triggered when a client connect to the server. It could be used to disconnect unwanted client or any other processing that must be done when a new client connect, such as updating the server user interface to show how many clients are connected.