Class: WifiWand::Platforms::Mac::Helper::Bundle::TimeoutConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
lib/wifi_wand/platforms/mac/helper/bundle.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(default_helper_command_timeout_seconds: Bundle::DEFAULT_HELPER_COMMAND_TIMEOUT_SECONDS, scan_networks_helper_command_timeout_seconds: Bundle::SCAN_NETWORKS_HELPER_COMMAND_TIMEOUT_SECONDS, helper_termination_wait_seconds: Bundle::HELPER_TERMINATION_WAIT_SECONDS, helper_output_reader_join_seconds: Bundle::HELPER_OUTPUT_READER_JOIN_SECONDS) ⇒ TimeoutConfiguration

Returns a new instance of TimeoutConfiguration.



40
41
42
43
44
45
46
47
# File 'lib/wifi_wand/platforms/mac/helper/bundle.rb', line 40

def initialize(
  default_helper_command_timeout_seconds: Bundle::DEFAULT_HELPER_COMMAND_TIMEOUT_SECONDS,
  scan_networks_helper_command_timeout_seconds: Bundle::SCAN_NETWORKS_HELPER_COMMAND_TIMEOUT_SECONDS,
  helper_termination_wait_seconds: Bundle::HELPER_TERMINATION_WAIT_SECONDS,
  helper_output_reader_join_seconds: Bundle::HELPER_OUTPUT_READER_JOIN_SECONDS
)
  super
end

Instance Attribute Details

#default_helper_command_timeout_secondsObject

Returns the value of attribute default_helper_command_timeout_seconds

Returns:

  • (Object)

    the current value of default_helper_command_timeout_seconds



33
34
35
# File 'lib/wifi_wand/platforms/mac/helper/bundle.rb', line 33

def default_helper_command_timeout_seconds
  @default_helper_command_timeout_seconds
end

#helper_output_reader_join_secondsObject

Returns the value of attribute helper_output_reader_join_seconds

Returns:

  • (Object)

    the current value of helper_output_reader_join_seconds



33
34
35
# File 'lib/wifi_wand/platforms/mac/helper/bundle.rb', line 33

def helper_output_reader_join_seconds
  @helper_output_reader_join_seconds
end

#helper_termination_wait_secondsObject

Returns the value of attribute helper_termination_wait_seconds

Returns:

  • (Object)

    the current value of helper_termination_wait_seconds



33
34
35
# File 'lib/wifi_wand/platforms/mac/helper/bundle.rb', line 33

def helper_termination_wait_seconds
  @helper_termination_wait_seconds
end

#scan_networks_helper_command_timeout_secondsObject

Returns the value of attribute scan_networks_helper_command_timeout_seconds

Returns:

  • (Object)

    the current value of scan_networks_helper_command_timeout_seconds



33
34
35
# File 'lib/wifi_wand/platforms/mac/helper/bundle.rb', line 33

def scan_networks_helper_command_timeout_seconds
  @scan_networks_helper_command_timeout_seconds
end