class Durian::Record::MX

Defined in:

durian/record/mx.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Durian::Record

cls : Cls cls, cls=(cls : Cls) cls=, flag : RecordFlag flag, flag=(flag : RecordFlag) flag=, from : String | Nil from, from=(from : String | Nil) from=, ttl : UInt32 ttl, ttl=(ttl : UInt32) ttl=

Constructor methods inherited from class Durian::Record

new(from : String | Nil = nil, cls : Cls = Cls::Internet, ttl : UInt32 = 0_u32)
new(flag : RecordFlag)
new

Class methods inherited from class Durian::Record

decode_additional(protocol : Protocol, resource_record : Record, io : IO, buffer : IO) decode_additional, decode_answer(protocol : Protocol, resource_record : Record, io : IO, buffer : IO) decode_answer, decode_authority(protocol : Protocol, resource_record : Record, io : IO, buffer : IO) decode_authority

Constructor Detail

def self.new(mailExchange : String = String.new, cls : Cls = Cls::Internet, ttl : UInt32 = 0_u32, from : String | Nil = nil) #

[View source]

Class Method Detail

def self.additional_from_io?(protocol, resource_record : MX, io : IO, buffer : IO, maximum_length : Int32 = 512) #

[View source]
def self.answer_from_io?(protocol, resource_record : MX, io : IO, buffer : IO, maximum_length : Int32 = 512) #

[View source]
def self.authority_from_io?(protocol, resource_record : MX, io : IO, buffer : IO, maximum_length : Int32 = 512) #

[View source]

Instance Method Detail

def mailExchange : String #

[View source]
def mailExchange=(mailExchange : String) #

[View source]
def preference : UInt16 #

[View source]
def preference=(preference : UInt16) #

[View source]