help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Types][Classes][Procedures and functions] Reference for unit 'lEvents' (#LNet)

TLEventer

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Abstract class for all eventers

Declaration

Source position: levents.pp line 134

type TLEventer = class

protected

  FRoot: TLHandle;

  FCount: Integer;

  FOnError: TLEventerErrorEvent;

  FReferences: Integer;

  FFreeRoot: TLHandle;

  FFreeIter: TLHandle;

  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;

Inheritance

TLEventer

  

Abstract class for all eventers

|

TObject

Description

This is the abstract eventer class. All specific eventers need to implement this class.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505