Message

Overview

Location

 

constructor

 

constructor

 

Message()

 

init()

 

Sub New()

 

constructor(aHeader: Header; aQuestions: Slice<Question>; aAnswers: Slice<Resource>; aAuthorities: Slice<Resource>; aAdditionals: Slice<Resource>)

 

Message(Header aHeader, Slice<Question> aQuestions, Slice<Resource> aAnswers, Slice<Resource> aAuthorities, Slice<Resource> aAdditionals)

 

init(_ aHeader: Header, _ aQuestions: Slice<Question>, _ aAnswers: Slice<Resource>, _ aAuthorities: Slice<Resource>, _ aAdditionals: Slice<Resource>)

 

Sub New(aHeader As Header, aQuestions As Slice<Question>, aAnswers As Slice<Resource>, aAuthorities As Slice<Resource>, aAdditionals As Slice<Resource>)

Parameters:

  • aHeader:
  • aQuestions:
  • aAnswers:
  • aAuthorities:
  • aAdditionals:

constructor (Message)

 

constructor(value: Message)

 

Message(Message value)

 

init(_ value: Message)

 

Sub New(value As Message)

Parameters:

  • value:

Additionals

 

var Additionals: Slice<Resource>;

 

Slice<Resource> Additionals

 

var Additionals: Slice<Resource>

 

Additionals Slice<Resource>

 

FIELD Additionals() As Slice<Resource>

Answers

 

var Answers: Slice<Resource>;

 

Slice<Resource> Answers

 

var Answers: Slice<Resource>

 

Answers Slice<Resource>

 

FIELD Answers() As Slice<Resource>

AppendPack

 

// .NET, Island
method AppendPack(b: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method AppendPack(b: Slice<Byte>): ValueTuple<Slice<Byte>, error>

 

// .NET, Island
(Slice<Byte>, error) AppendPack(Slice<Byte> b)
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> AppendPack(Slice<Byte> b)

 

// .NET, Island
func AppendPack(_ b: Slice<Byte>) -> (Slice<Byte>, error)
// .NET Standard 2.0
func AppendPack(_ b: Slice<Byte>) -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func AppendPack(b Slice<Byte>) (Slice<Byte>, error)
// .NET Standard 2.0
func AppendPack(b Slice<Byte>) ValueTuple<Slice<Byte>, error>

 

// .NET, Island
Function AppendPack(b As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
// .NET Standard 2.0
Function AppendPack(b As Slice<Byte>) As ValueTuple<Slice<Byte>, error>

Parameters:

  • b:

Authoritative

 

property Authoritative: bool read write;

 

bool Authoritative { get; set; }

 

var Authoritative: bool { get{} set{} }

 

Authoritative bool

 

Property Authoritative() As bool

Authorities

 

var Authorities: Slice<Resource>;

 

Slice<Resource> Authorities

 

var Authorities: Slice<Resource>

 

Authorities Slice<Resource>

 

FIELD Authorities() As Slice<Resource>

GoString

 

method GoString: string

 

string GoString()

 

func GoString() -> string

 

func GoString() string

 

Function GoString() As string

Header

 

var Header: Header;

 

Header Header

 

var Header: Header

 

Header Header

 

FIELD Header() As Header

ID

 

property ID: uint16 read write;

 

uint16 ID { get; set; }

 

var ID: uint16 { get{} set{} }

 

ID uint16

 

Property ID() As uint16

OpCode

 

property OpCode: OpCode read write;

 

OpCode OpCode { get; set; }

 

var OpCode: OpCode { get{} set{} }

 

OpCode OpCode

 

Property OpCode() As OpCode

Pack

 

// .NET, Island
method Pack: tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method Pack: ValueTuple<Slice<Byte>, error>

 

// .NET, Island
(Slice<Byte>, error) Pack()
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> Pack()

 

// .NET, Island
func Pack() -> (Slice<Byte>, error)
// .NET Standard 2.0
func Pack() -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func Pack() (Slice<Byte>, error)
// .NET Standard 2.0
func Pack() ValueTuple<Slice<Byte>, error>

 

// .NET, Island
Function Pack() As Tuple (Of Slice<Byte>, error)
// .NET Standard 2.0
Function Pack() As ValueTuple<Slice<Byte>, error>

Questions

 

var Questions: Slice<Question>;

 

Slice<Question> Questions

 

var Questions: Slice<Question>

 

Questions Slice<Question>

 

FIELD Questions() As Slice<Question>

RCode

 

property RCode: RCode read write;

 

RCode RCode { get; set; }

 

var RCode: RCode { get{} set{} }

 

RCode RCode

 

Property RCode() As RCode

RecursionAvailable

 

property RecursionAvailable: bool read write;

 

bool RecursionAvailable { get; set; }

 

var RecursionAvailable: bool { get{} set{} }

 

RecursionAvailable bool

 

Property RecursionAvailable() As bool

RecursionDesired

 

property RecursionDesired: bool read write;

 

bool RecursionDesired { get; set; }

 

var RecursionDesired: bool { get{} set{} }

 

RecursionDesired bool

 

Property RecursionDesired() As bool

Response

 

property Response: bool read write;

 

bool Response { get; set; }

 

var Response: bool { get{} set{} }

 

Response bool

 

Property Response() As bool

Truncated

 

property Truncated: bool read write;

 

bool Truncated { get; set; }

 

var Truncated: bool { get{} set{} }

 

Truncated bool

 

Property Truncated() As bool

Unpack

 

method Unpack(msg: Slice<Byte>): error

 

error Unpack(Slice<Byte> msg)

 

func Unpack(_ msg: Slice<Byte>) -> error

 

func Unpack(msg Slice<Byte>) error

 

Function Unpack(msg As Slice<Byte>) As error

Parameters:

  • msg:

 

Additionals

 

var Additionals: Slice<Resource>;

 

Slice<Resource> Additionals

 

var Additionals: Slice<Resource>

 

Additionals Slice<Resource>

 

FIELD Additionals() As Slice<Resource>

Answers

 

var Answers: Slice<Resource>;

 

Slice<Resource> Answers

 

var Answers: Slice<Resource>

 

Answers Slice<Resource>

 

FIELD Answers() As Slice<Resource>

Authorities

 

var Authorities: Slice<Resource>;

 

Slice<Resource> Authorities

 

var Authorities: Slice<Resource>

 

Authorities Slice<Resource>

 

FIELD Authorities() As Slice<Resource>

Header

 

var Header: Header;

 

Header Header

 

var Header: Header

 

Header Header

 

FIELD Header() As Header

Questions

 

var Questions: Slice<Question>;

 

Slice<Question> Questions

 

var Questions: Slice<Question>

 

Questions Slice<Question>

 

FIELD Questions() As Slice<Question>

 

Authoritative

 

property Authoritative: bool read write;

 

bool Authoritative { get; set; }

 

var Authoritative: bool { get{} set{} }

 

Authoritative bool

 

Property Authoritative() As bool

ID

 

property ID: uint16 read write;

 

uint16 ID { get; set; }

 

var ID: uint16 { get{} set{} }

 

ID uint16

 

Property ID() As uint16

OpCode

 

property OpCode: OpCode read write;

 

OpCode OpCode { get; set; }

 

var OpCode: OpCode { get{} set{} }

 

OpCode OpCode

 

Property OpCode() As OpCode

RCode

 

property RCode: RCode read write;

 

RCode RCode { get; set; }

 

var RCode: RCode { get{} set{} }

 

RCode RCode

 

Property RCode() As RCode

RecursionAvailable

 

property RecursionAvailable: bool read write;

 

bool RecursionAvailable { get; set; }

 

var RecursionAvailable: bool { get{} set{} }

 

RecursionAvailable bool

 

Property RecursionAvailable() As bool

RecursionDesired

 

property RecursionDesired: bool read write;

 

bool RecursionDesired { get; set; }

 

var RecursionDesired: bool { get{} set{} }

 

RecursionDesired bool

 

Property RecursionDesired() As bool

Response

 

property Response: bool read write;

 

bool Response { get; set; }

 

var Response: bool { get{} set{} }

 

Response bool

 

Property Response() As bool

Truncated

 

property Truncated: bool read write;

 

bool Truncated { get; set; }

 

var Truncated: bool { get{} set{} }

 

Truncated bool

 

Property Truncated() As bool

 

constructor

 

constructor

 

Message()

 

init()

 

Sub New()

 

constructor(aHeader: Header; aQuestions: Slice<Question>; aAnswers: Slice<Resource>; aAuthorities: Slice<Resource>; aAdditionals: Slice<Resource>)

 

Message(Header aHeader, Slice<Question> aQuestions, Slice<Resource> aAnswers, Slice<Resource> aAuthorities, Slice<Resource> aAdditionals)

 

init(_ aHeader: Header, _ aQuestions: Slice<Question>, _ aAnswers: Slice<Resource>, _ aAuthorities: Slice<Resource>, _ aAdditionals: Slice<Resource>)

 

Sub New(aHeader As Header, aQuestions As Slice<Question>, aAnswers As Slice<Resource>, aAuthorities As Slice<Resource>, aAdditionals As Slice<Resource>)

Parameters:

  • aHeader:
  • aQuestions:
  • aAnswers:
  • aAuthorities:
  • aAdditionals:

constructor (Message)

 

constructor(value: Message)

 

Message(Message value)

 

init(_ value: Message)

 

Sub New(value As Message)

Parameters:

  • value:

AppendPack

 

// .NET, Island
method AppendPack(b: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method AppendPack(b: Slice<Byte>): ValueTuple<Slice<Byte>, error>

 

// .NET, Island
(Slice<Byte>, error) AppendPack(Slice<Byte> b)
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> AppendPack(Slice<Byte> b)

 

// .NET, Island
func AppendPack(_ b: Slice<Byte>) -> (Slice<Byte>, error)
// .NET Standard 2.0
func AppendPack(_ b: Slice<Byte>) -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func AppendPack(b Slice<Byte>) (Slice<Byte>, error)
// .NET Standard 2.0
func AppendPack(b Slice<Byte>) ValueTuple<Slice<Byte>, error>

 

// .NET, Island
Function AppendPack(b As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
// .NET Standard 2.0
Function AppendPack(b As Slice<Byte>) As ValueTuple<Slice<Byte>, error>

Parameters:

  • b:

GoString

 

method GoString: string

 

string GoString()

 

func GoString() -> string

 

func GoString() string

 

Function GoString() As string

Pack

 

// .NET, Island
method Pack: tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method Pack: ValueTuple<Slice<Byte>, error>

 

// .NET, Island
(Slice<Byte>, error) Pack()
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> Pack()

 

// .NET, Island
func Pack() -> (Slice<Byte>, error)
// .NET Standard 2.0
func Pack() -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func Pack() (Slice<Byte>, error)
// .NET Standard 2.0
func Pack() ValueTuple<Slice<Byte>, error>

 

// .NET, Island
Function Pack() As Tuple (Of Slice<Byte>, error)
// .NET Standard 2.0
Function Pack() As ValueTuple<Slice<Byte>, error>

Unpack

 

method Unpack(msg: Slice<Byte>): error

 

error Unpack(Slice<Byte> msg)

 

func Unpack(_ msg: Slice<Byte>) -> error

 

func Unpack(msg Slice<Byte>) error

 

Function Unpack(msg As Slice<Byte>) As error

Parameters:

  • msg: