Home Units Hierarchy Routines All identifiers

Class unavclDNSClient

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unavclDNSClient = class(unavclInOutPipeImpl)

Description

DNS Client

Hierarchy

Overview

Methods

Public function getDNSServersList(): string;
Protected function doOpen(): bool; override;
Protected function isActive(): bool; override;
Public procedure AfterConstruction(); override;
Public procedure BeforeDestruction(); override;
Protected procedure doClose(); override;
Protected procedure doOnAnswer(query: unaDNSQuery); virtual;

Properties

Public property answer: unaDNSQuery read f_lastAnswer;
Public property client: unaDNSClient read f_cln;
Published property onAnswer: TNotifyEvent read f_onAnswer write f_onAnswer;

Description

Methods

Public function getDNSServersList(): string;

Returns list of DNS servers assigned by TCP/IP configuration.

Protected function doOpen(): bool; override;
 
Protected function isActive(): bool; override;
 
Public procedure AfterConstruction(); override;
 
Public procedure BeforeDestruction(); override;
 
Protected procedure doClose(); override;
 
Protected procedure doOnAnswer(query: unaDNSQuery); virtual;

Called from context of low-level DNS client thread.

Properties

Public property answer: unaDNSQuery read f_lastAnswer;

Answer returned by server.

NOTE: Access this property from OnAnswer event handler only!

Public property client: unaDNSClient read f_cln;

Low-level component, use it to get access to full functionality of DNS client.

Published property onAnswer: TNotifyEvent read f_onAnswer write f_onAnswer;

Fired when new answer was returned by server.

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09