Class: TDL::ImplementationRunnerConfig
- Inherits:
-
Object
- Object
- TDL::ImplementationRunnerConfig
- Defined in:
- lib/tdl/queue/implementation_runner_config.rb
Instance Method Summary collapse
- #get_audit_stream ⇒ Object
- #get_hostname ⇒ Object
- #get_port ⇒ Object
- #get_time_to_wait_for_requests ⇒ Object
- #get_unique_id ⇒ Object
-
#initialize ⇒ ImplementationRunnerConfig
constructor
A new instance of ImplementationRunnerConfig.
- #set_audit_stream(audit_stream) ⇒ Object
- #set_hostname(hostname) ⇒ Object
- #set_port(port) ⇒ Object
- #set_time_to_wait_for_requests(time_to_wait_for_requests) ⇒ Object
- #set_unique_id(unique_id) ⇒ Object
Constructor Details
#initialize ⇒ ImplementationRunnerConfig
Returns a new instance of ImplementationRunnerConfig.
7 8 9 10 11 |
# File 'lib/tdl/queue/implementation_runner_config.rb', line 7 def initialize @port = 61613 @time_to_wait_for_requests = 500 @audit_stream = ConsoleAuditStream.new end |
Instance Method Details
#get_audit_stream ⇒ Object
54 55 56 |
# File 'lib/tdl/queue/implementation_runner_config.rb', line 54 def get_audit_stream @audit_stream end |
#get_hostname ⇒ Object
38 39 40 |
# File 'lib/tdl/queue/implementation_runner_config.rb', line 38 def get_hostname @hostname end |
#get_port ⇒ Object
42 43 44 |
# File 'lib/tdl/queue/implementation_runner_config.rb', line 42 def get_port @port end |
#get_time_to_wait_for_requests ⇒ Object
50 51 52 |
# File 'lib/tdl/queue/implementation_runner_config.rb', line 50 def get_time_to_wait_for_requests @time_to_wait_for_requests end |
#get_unique_id ⇒ Object
46 47 48 |
# File 'lib/tdl/queue/implementation_runner_config.rb', line 46 def get_unique_id @unique_id end |
#set_audit_stream(audit_stream) ⇒ Object
33 34 35 36 |
# File 'lib/tdl/queue/implementation_runner_config.rb', line 33 def set_audit_stream(audit_stream) @set_audit_stream = audit_stream self end |
#set_hostname(hostname) ⇒ Object
13 14 15 16 |
# File 'lib/tdl/queue/implementation_runner_config.rb', line 13 def set_hostname(hostname) @hostname = hostname self end |
#set_port(port) ⇒ Object
18 19 20 21 |
# File 'lib/tdl/queue/implementation_runner_config.rb', line 18 def set_port(port) @port = port self end |
#set_time_to_wait_for_requests(time_to_wait_for_requests) ⇒ Object
28 29 30 31 |
# File 'lib/tdl/queue/implementation_runner_config.rb', line 28 def set_time_to_wait_for_requests(time_to_wait_for_requests) @time_to_wait_for_requests = time_to_wait_for_requests self end |
#set_unique_id(unique_id) ⇒ Object
23 24 25 26 |
# File 'lib/tdl/queue/implementation_runner_config.rb', line 23 def set_unique_id(unique_id) @unique_id = unique_id self end |