Difference between revisions of "Midware TClientWSocket.OnTimeout"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> Midware component reference -> TClientWSocket -> [[Midware_TClientWSocket.OnTimeout | O…')
 
 
Line 3: Line 3:
 
== Definition ==
 
== Definition ==
  
  '''property''' OnTimeout: '''TTimeoutEvent''';
+
<syntaxhighlight lang="delphi">
 +
type
 +
TSessionClosed = procedure (Sender: TObject; Error: word) of object;
 +
 
 +
property OnSessionClosed : TSessionClosed;
 +
</syntaxhighlight>
  
 
== Description ==
 
== Description ==
  
 
Triggered when the client timedout as is about to be disconnected by TAppServer. Default action is to allow disconnection.
 
Triggered when the client timedout as is about to be disconnected by TAppServer. Default action is to allow disconnection.

Latest revision as of 14:30, 14 May 2011

Main page -> Midware component reference -> TClientWSocket -> OnTimeout

Definition

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

property OnSessionClosed : TSessionClosed; </syntaxhighlight>

Description

Triggered when the client timedout as is about to be disconnected by TAppServer. Default action is to allow disconnection.