Class: AssLauncher::Enterprise::BinaryWrapper::ThinClient
- Inherits:
-
ThickClient
- Object
- AssLauncher::Enterprise::BinaryWrapper
- ThickClient
- AssLauncher::Enterprise::BinaryWrapper::ThinClient
- Defined in:
- lib/ass_launcher/enterprise/binary_wrapper.rb
Overview
Wrapper for 1C thin client binary
Constant Summary
Constants inherited from AssLauncher::Enterprise::BinaryWrapper
Instance Attribute Summary
Attributes inherited from AssLauncher::Enterprise::BinaryWrapper
Instance Method Summary collapse
-
#accepted_connstr ⇒ Array<Symbol>
Define type of connection_string suitable for 1C binary.
-
#command(args = [], **options, &block) ⇒ AssLauncher::Support::Shell::Command
Run 1C:Enterprise client as command.
-
#script(args = '', **options) ⇒ AssLauncher::Support::Shell::Script
Run 1C:Enterprise client as cmd or shell script.
Methods inherited from AssLauncher::Enterprise::BinaryWrapper
#<=>, #arch, #cli_spec, #exists?, #initialize, #major_v, #run_modes, run_modes, #version, #x86_64?
Methods included from Support::Platforms
cygwin?, env, glob, linux?, path, path_class, windows?
Constructor Details
This class inherits a constructor from AssLauncher::Enterprise::BinaryWrapper
Instance Method Details
#accepted_connstr ⇒ Array<Symbol>
Define type of connection_string suitable for 1C binary
353 354 355 |
# File 'lib/ass_launcher/enterprise/binary_wrapper.rb', line 353 def accepted_connstr [:file, :server, :http] end |
#command(args = [], **options, &block) ⇒ AssLauncher::Support::Shell::Command
For correct pass cli parameters to 1C:Enterprise binary, you can passes block. Block will be eval in instance of Cli::ArgumentsBuilder. ArgumentsBuilder
use Cli::CliSpec and verify parameters and prameters values. Also you can pass arguments directly, without verify, uses args
array.
Command not wait while 1C:Enterprise execution. You can manipulate with many 1C clients runned at once.
Run 1C:Enterprise client as command.
388 389 390 |
# File 'lib/ass_launcher/enterprise/binary_wrapper.rb', line 388 def command(args = [], **, &block) super(:enterprise, args, , &block) end |
#script(args = '', **options) ⇒ AssLauncher::Support::Shell::Script
It waiting for script execution.
It not use arguments builder and not expects of block. Arguments string make as you want
Run 1C:Enterprise client as cmd or shell script.
403 404 405 |
# File 'lib/ass_launcher/enterprise/binary_wrapper.rb', line 403 def script(args = '', **) super(:enterprise, args, ) end |