[Overview][Types][Classes][Procedures and functions] | Reference for unit 'lEvents' (#LNet) |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Abstract class for all eventers
Source position: levents.pp line 134
type TLEventer = class |
||
protected |
||
FCount: Integer; |
||
FReferences: Integer; |
||
FInLoop: Boolean; |
||
function GetTimeout; virtual; |
||
procedure SetTimeout(); virtual; |
||
function Bail(); |
||
procedure AddForFree(); |
||
procedure FreeHandles; |
||
procedure HandleIgnoreError(); virtual; |
||
procedure HandleIgnoreWrite(); virtual; |
||
procedure HandleIgnoreRead(); virtual; |
||
function GetInternalData(); |
||
procedure SetInternalData(); |
||
procedure SetHandleEventer(); |
||
public |
||
constructor Create; virtual; |
|
Standard constructor for eventer |
destructor Destroy; override; |
|
Standard destructor for eventer |
function AddHandle(); virtual; |
|
Add new handle to the eventer |
function CallAction; virtual; |
|
Eventizes the eventer |
procedure RemoveHandle(); virtual; |
|
Remove a handle from the eventer |
procedure UnplugHandle(); virtual; |
|
Unplug a handle from the eventer |
procedure UnregisterHandle(); virtual; |
||
procedure LoadFromEventer(); virtual; |
|
Shortcut init |
procedure Clear; |
|
Clear all handles |
procedure AddRef; |
|
Adds a reference to the eventer |
procedure DeleteRef; |
|
Deletes a reference to the eventer |
property Timeout: Integer; [rw] |
|
Callaction timeout |
property OnError: TLEventerErrorEvent; [rw] |
|
Error event callback |
property Count: Integer; [r] |
|
Number of handles in eventer |
end; |
|
Abstract class for all eventers |
|
| | ||
TObject |
This is the abstract eventer class. All specific eventers need to implement this class.
No notes exist for this page yet.