Class: LASRpcUtils::TransportFactory

Inherits:
Object
  • Object
show all
Includes:
MintLogger
Defined in:
src/las-rpc-utils/lib/las-rpc-utils/transportfactory.rb

Properties (Read/Write)

Properties (Read Only)

Constant Summary

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Instance Method Summary collapse

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Constructor Details

#initialize(default_type: 'ssh', default_transport_options: {}) ⇒ TransportFactory

Returns a new instance of TransportFactory.

Instance Method Details

#add_default_env(envhash) ⇒ Object

#add_default_path(path) ⇒ Object

#add_hop!(host, type, transport_options) ⇒ Object

#add_hop_for_host(host, type, transport_options) ⇒ Object

#rehash_allObject

#set_default_env(envhash) ⇒ Object

#set_default_init(init) ⇒ Object

#set_options_for_host(host, options) ⇒ Object

#set_temp_folder(tempfolder) ⇒ Object

#transport(host, type: nil, transport_options: {}) ⇒ Object

#unconnectable?(host, type: nil, transport_options: {}) ⇒ Boolean

Returns:

  • (Boolean)

#update_default_transport_options(default_transport_options) ⇒ Object