Class: Dnsruby::SelectThread::QuerySettings
- Inherits:
-
Object
- Object
- Dnsruby::SelectThread::QuerySettings
- Defined in:
- lib/Dnsruby/select_thread.rb
Instance Attribute Summary collapse
-
#client_query_id ⇒ Object
Returns the value of attribute client_query_id.
-
#client_queue ⇒ Object
Returns the value of attribute client_queue.
-
#dest_port ⇒ Object
Returns the value of attribute dest_port.
-
#dest_server ⇒ Object
Returns the value of attribute dest_server.
-
#endtime ⇒ Object
Returns the value of attribute endtime.
-
#ignore_truncation ⇒ Object
Returns the value of attribute ignore_truncation.
-
#query ⇒ Object
Returns the value of attribute query.
-
#query_bytes ⇒ Object
Returns the value of attribute query_bytes.
-
#single_resolver ⇒ Object
Returns the value of attribute single_resolver.
-
#socket ⇒ Object
Returns the value of attribute socket.
-
#udp_packet_size ⇒ Object
Returns the value of attribute udp_packet_size.
Instance Method Summary collapse
-
#initialize(*args) ⇒ QuerySettings
constructor
new(query_bytes, query, ignore_truncation, client_queue, client_query_id, socket, dest_server, dest_port, endtime, , udp_packet_size, single_resolver).
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_id ⇒ Object
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_queue ⇒ Object
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_port ⇒ Object
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_server ⇒ Object
Returns the value of attribute dest_server.
68 69 70 |
# File 'lib/Dnsruby/select_thread.rb', line 68 def dest_server @dest_server end |
#endtime ⇒ Object
Returns the value of attribute endtime.
68 69 70 |
# File 'lib/Dnsruby/select_thread.rb', line 68 def endtime @endtime end |
#ignore_truncation ⇒ Object
Returns the value of attribute ignore_truncation.
68 69 70 |
# File 'lib/Dnsruby/select_thread.rb', line 68 def ignore_truncation @ignore_truncation end |
#query ⇒ Object
Returns the value of attribute query.
68 69 70 |
# File 'lib/Dnsruby/select_thread.rb', line 68 def query @query end |
#query_bytes ⇒ Object
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_resolver ⇒ Object
Returns the value of attribute single_resolver.
68 69 70 |
# File 'lib/Dnsruby/select_thread.rb', line 68 def single_resolver @single_resolver end |
#socket ⇒ Object
Returns the value of attribute socket.
68 69 70 |
# File 'lib/Dnsruby/select_thread.rb', line 68 def socket @socket end |
#udp_packet_size ⇒ Object
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 |