Class: Yast::RemoteClient

Inherits:
Client
  • Object
show all
Includes:
I18n, Logger
Defined in:
src/clients/remote.rb

Instance Method Summary collapse

Constructor Details

#initializeRemoteClient

Returns a new instance of RemoteClient.



29
30
31
32
33
34
35
36
37
38
39
40
41
# File 'src/clients/remote.rb', line 29

def initialize
  super
  Yast.import "UI"

  textdomain "network"

  Yast.import "Label"
  Yast.import "Wizard"
  Yast.import "Report"

  Yast.import "CommandLine"
  Yast.import "RichText"
end

Instance Method Details

#mainObject



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'src/clients/remote.rb', line 43

def main
  # The main ()
  log.info("----------------------------------------")
  log.info("Remote module started")

  remote.read
  # Command line definition
  ret = CommandLine.Run(command_line_definition)
  log.debug("ret=#{ret}")

  # Finish
  log.info("Remote module finished")
  log.info("----------------------------------------")

  ret
end