struct Durian::Record::SRV

Defined in:

durian/record/srv.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from struct 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 struct Durian::Record

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

Class methods inherited from struct Durian::Record

decode_additional(protocol : Protocol, resource_flag : RecordFlag, io : IO, buffer : IO) decode_additional, decode_answer(protocol : Protocol, resource_flag : RecordFlag, io : IO, buffer : IO) decode_answer, decode_authority(protocol : Protocol, resource_flag : RecordFlag, io : IO, buffer : IO) decode_authority

Constructor Detail

def self.new(target : 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 : Protocol, io : IO, buffer : IO) #

[View source]
def self.answer_from_io?(protocol : Protocol, io : IO, buffer : IO) #

[View source]
def self.authority_from_io?(protocol : Protocol, io : IO, buffer : IO) #

[View source]

Instance Method Detail

def port : UInt16 #

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

[View source]
def priority : UInt16 #

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

[View source]
def target : String #

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

[View source]
def weight : UInt16 #

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

[View source]