Documentation

DecodingContext
in package

Holds data associated with a decode operation

Tags
category

LibDNS

author

Chris Wright https://github.com/DaveRandom

Table of Contents

Properties

$expectedAdditionalRecords  : int
$expectedAnswerRecords  : int
$expectedAuthorityRecords  : int
$expectedQuestionRecords  : int
$labelRegistry  : LabelRegistry
$packet  : Packet

Methods

__construct()  : mixed
Constructor
getExpectedAdditionalRecords()  : int
Get the number of additional records expected in the message
getExpectedAnswerRecords()  : int
Get the number of answer records expected in the message
getExpectedAuthorityRecords()  : int
Get the number of authority records expected in the message
getExpectedQuestionRecords()  : int
Get the number of question records expected in the message
getLabelRegistry()  : LabelRegistry
Get the label registry
getPacket()  : Packet
Get the packet
setExpectedAdditionalRecords()  : mixed
Set the number of additional records expected in the message
setExpectedAnswerRecords()  : mixed
Set the number of answer records expected in the message
setExpectedAuthorityRecords()  : mixed
Set the number of authority records expected in the message
setExpectedQuestionRecords()  : mixed
Get the number of question records expected in the message

Properties

$expectedAdditionalRecords

private int $expectedAdditionalRecords = 0

Methods

getExpectedAdditionalRecords()

Get the number of additional records expected in the message

public getExpectedAdditionalRecords() : int
Return values
int

getExpectedAnswerRecords()

Get the number of answer records expected in the message

public getExpectedAnswerRecords() : int
Return values
int

getExpectedAuthorityRecords()

Get the number of authority records expected in the message

public getExpectedAuthorityRecords() : int
Return values
int

getExpectedQuestionRecords()

Get the number of question records expected in the message

public getExpectedQuestionRecords() : int
Return values
int

setExpectedAdditionalRecords()

Set the number of additional records expected in the message

public setExpectedAdditionalRecords(int $expectedAdditionalRecords) : mixed
Parameters
$expectedAdditionalRecords : int

setExpectedAnswerRecords()

Set the number of answer records expected in the message

public setExpectedAnswerRecords(int $expectedAnswerRecords) : mixed
Parameters
$expectedAnswerRecords : int

setExpectedAuthorityRecords()

Set the number of authority records expected in the message

public setExpectedAuthorityRecords(int $expectedAuthorityRecords) : mixed
Parameters
$expectedAuthorityRecords : int

setExpectedQuestionRecords()

Get the number of question records expected in the message

public setExpectedQuestionRecords(int $expectedQuestionRecords) : mixed
Parameters
$expectedQuestionRecords : int

        
On this page

Search results