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.
-
#is_persistent_socket ⇒ Object
Returns the value of attribute is_persistent_socket.
-
#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.
-
#tcp_pipelining_max_queries ⇒ Object
Returns the value of attribute tcp_pipelining_max_queries.
-
#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)
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
# File 'lib/dnsruby/select_thread.rb', line 100 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] @is_persistent_socket = false @tcp_pipelining_max_queries = nil end |
Instance Attribute Details
#client_query_id ⇒ Object
Returns the value of attribute client_query_id.
95 96 97 |
# File 'lib/dnsruby/select_thread.rb', line 95 def client_query_id @client_query_id end |
#client_queue ⇒ Object
Returns the value of attribute client_queue.
95 96 97 |
# File 'lib/dnsruby/select_thread.rb', line 95 def client_queue @client_queue end |
#dest_port ⇒ Object
Returns the value of attribute dest_port.
95 96 97 |
# File 'lib/dnsruby/select_thread.rb', line 95 def dest_port @dest_port end |
#dest_server ⇒ Object
Returns the value of attribute dest_server.
95 96 97 |
# File 'lib/dnsruby/select_thread.rb', line 95 def dest_server @dest_server end |
#endtime ⇒ Object
Returns the value of attribute endtime.
95 96 97 |
# File 'lib/dnsruby/select_thread.rb', line 95 def endtime @endtime end |
#ignore_truncation ⇒ Object
Returns the value of attribute ignore_truncation.
95 96 97 |
# File 'lib/dnsruby/select_thread.rb', line 95 def ignore_truncation @ignore_truncation end |
#is_persistent_socket ⇒ Object
Returns the value of attribute is_persistent_socket.
95 96 97 |
# File 'lib/dnsruby/select_thread.rb', line 95 def is_persistent_socket @is_persistent_socket end |
#query ⇒ Object
Returns the value of attribute query.
95 96 97 |
# File 'lib/dnsruby/select_thread.rb', line 95 def query @query end |
#query_bytes ⇒ Object
Returns the value of attribute query_bytes.
95 96 97 |
# File 'lib/dnsruby/select_thread.rb', line 95 def query_bytes @query_bytes end |
#single_resolver ⇒ Object
Returns the value of attribute single_resolver.
95 96 97 |
# File 'lib/dnsruby/select_thread.rb', line 95 def single_resolver @single_resolver end |
#socket ⇒ Object
Returns the value of attribute socket.
95 96 97 |
# File 'lib/dnsruby/select_thread.rb', line 95 def socket @socket end |
#tcp_pipelining_max_queries ⇒ Object
Returns the value of attribute tcp_pipelining_max_queries.
95 96 97 |
# File 'lib/dnsruby/select_thread.rb', line 95 def tcp_pipelining_max_queries @tcp_pipelining_max_queries end |
#udp_packet_size ⇒ Object
Returns the value of attribute udp_packet_size.
95 96 97 |
# File 'lib/dnsruby/select_thread.rb', line 95 def udp_packet_size @udp_packet_size end |