Class: Dnsruby::SelectThread::QuerySettings

Inherits:
Object
  • Object
show all
Defined in:
lib/Dnsruby/select_thread.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ QuerySettings

new(query_bytes, query, ignore_truncation, client_queue, client_query_id,

socket, dest_server, dest_port, endtime, , udp_packet_size, single_resolver)


73
74
75
76
77
78
79
80
81
82
83
84
85
# File 'lib/Dnsruby/select_thread.rb', line 73

def initialize(*args)
  @query_bytes = args[0]
  @query = args[1]
  @ignore_truncation=args[2]
  @client_queue = args[3]
  @client_query_id = args[4]
  @socket = args[5]
  @dest_server = args[6]
  @dest_port=args[7]
  @endtime = args[8]  
  @udp_packet_size = args[9]
  @single_resolver = args[10]
end

Instance Attribute Details

#client_query_idObject

Returns the value of attribute client_query_id.



68
69
70
# File 'lib/Dnsruby/select_thread.rb', line 68

def client_query_id
  @client_query_id
end

#client_queueObject

Returns the value of attribute client_queue.



68
69
70
# File 'lib/Dnsruby/select_thread.rb', line 68

def client_queue
  @client_queue
end

#dest_portObject

Returns the value of attribute dest_port.



68
69
70
# File 'lib/Dnsruby/select_thread.rb', line 68

def dest_port
  @dest_port
end

#dest_serverObject

Returns the value of attribute dest_server.



68
69
70
# File 'lib/Dnsruby/select_thread.rb', line 68

def dest_server
  @dest_server
end

#endtimeObject

Returns the value of attribute endtime.



68
69
70
# File 'lib/Dnsruby/select_thread.rb', line 68

def endtime
  @endtime
end

#ignore_truncationObject

Returns the value of attribute ignore_truncation.



68
69
70
# File 'lib/Dnsruby/select_thread.rb', line 68

def ignore_truncation
  @ignore_truncation
end

#queryObject

Returns the value of attribute query.



68
69
70
# File 'lib/Dnsruby/select_thread.rb', line 68

def query
  @query
end

#query_bytesObject

Returns the value of attribute query_bytes.



68
69
70
# File 'lib/Dnsruby/select_thread.rb', line 68

def query_bytes
  @query_bytes
end

#single_resolverObject

Returns the value of attribute single_resolver.



68
69
70
# File 'lib/Dnsruby/select_thread.rb', line 68

def single_resolver
  @single_resolver
end

#socketObject

Returns the value of attribute socket.



68
69
70
# File 'lib/Dnsruby/select_thread.rb', line 68

def socket
  @socket
end

#udp_packet_sizeObject

Returns the value of attribute udp_packet_size.



68
69
70
# File 'lib/Dnsruby/select_thread.rb', line 68

def udp_packet_size
  @udp_packet_size
end