Home Units Hierarchy Routines All identifiers

Class unaDNSRR

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaDNSRR = class(unaObject)

Description

DNS RR parser

Hierarchy

Overview

Methods

Public constructor create(data: pointer; var ofs: int; maxLen: int; isQuestion: bool);
Public destructor Destroy(); override;

Properties

Public property isQuestion: bool read f_isQuestion;
Public property rclass: int read f_class;
Public property rdata: pointer read f_rdata;
Public property rdataObj: unaDNSRR_subType read f_rdataObj;
Public property rdlen: int read f_rdlen;
Public property rname: string read f_name;
Public property rttl: uint32 read f_ttl;
Public property rtype: int read f_type;

Description

Methods

Public constructor create(data: pointer; var ofs: int; maxLen: int; isQuestion: bool);
 
Public destructor Destroy(); override;

Releases resources

Properties

Public property isQuestion: bool read f_isQuestion;

True if this RR is original question

Public property rclass: int read f_class;

RR class

Public property rdata: pointer read f_rdata;

RDATA (valid only if isQuestion is false)

Public property rdataObj: unaDNSRR_subType read f_rdataObj;

Parsed RDATA (valid only if isQuestion is false). Actual class depends on rtype property. For example, if rtype = c_DNS_TYPE_MX, subData will be unaDNSRR_MX This property could be nil, in which case you have to parse RDATA manually

Public property rdlen: int read f_rdlen;

RDATA length (valid only if isQuestion is false)

Public property rname: string read f_name;

RR name

Public property rttl: uint32 read f_ttl;

RR TTL (valid only if isQuestion is false)

Public property rtype: int read f_type;

RR type

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09