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



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

TLHandle

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

Base abstraction of a handle or socket

Declaration

Source position: levents.pp line 53

type TLHandle = class(TObject)

protected

  FHandle: THandle;

  FEventer: TLEventer;

  FOnRead: TLHandleEvent;

  FOnWrite: TLHandleEvent;

  FOnError: TLHandleErrorEvent;

  FIgnoreWrite: Boolean;

  FIgnoreRead: Boolean;

  FIgnoreError: Boolean;

  FDispose: Boolean;

  FFreeing: Boolean;

  FPrev: TLHandle;

  FNext: TLHandle;

  FFreeNext: TLHandle;

  FInternalData: Pointer;

  procedure SetIgnoreError();

  procedure SetIgnoreWrite();

  procedure SetIgnoreRead();

public

  UserData: Pointer;

  

User defined data

  constructor Create; virtual;

  

Standard constructor for the handle

  destructor Destroy; override;

  

Standard destructor for the handle

  procedure Free; virtual;

  

Free method overriden from TObject

  property Prev: TLHandle; [rw]

  

Returns the previous handle in double linked list

  property Next: TLHandle; [rw]

  

Returns next handle in double linked list

  property FreeNext: TLHandle; [rw]

  

Demotes next handle for freeing

  property IgnoreWrite: Boolean; [rw]

  

Event control property for write events

  property IgnoreRead: Boolean; [rw]

  

Event control property for read events

  property IgnoreError: Boolean; [rw]

  

Event control property for error events

  property OnRead: TLHandleEvent; [rw]

  

Read notification callback

  property OnWrite: TLHandleEvent; [rw]

  

Write notification callback

  property OnError: TLHandleErrorEvent; [rw]

  

Error notification callback

  property Dispose: Boolean; [rw]

  

Dispose status notifier

  property Handle: THandle; [rw]

  

The handle of the handle

  property Eventer: TLEventer; [r]

  

Eventer of the handle

end;

Inheritance

TLHandle

  

Base abstraction of a handle or socket

|

TObject

Description

This is the basic abstract class for a handle or socket which any eventer can use.

Notes

 No notes exist for this page yet. 





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