Class: ProxyMgr::Haproxy::Process

Inherits:
Object
  • Object
show all
Includes:
Logging
Defined in:
lib/proxymgr/haproxy/process.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Logging

disable!, #logger, logger

Constructor Details

#initialize(path, config_file, fds, old_pid = nil, &callback) ⇒ Process

Returns a new instance of Process.



60
61
62
63
64
65
66
67
68
# File 'lib/proxymgr/haproxy/process.rb', line 60

def initialize(path, config_file, fds, old_pid = nil, &callback)
  @path        = path
  @config_file = config_file
  @old_pid     = old_pid
  @callback    = callback
  @fds         = fds

  super()
end

Instance Attribute Details

#exit_codeObject (readonly)

Returns the value of attribute exit_code.



58
59
60
# File 'lib/proxymgr/haproxy/process.rb', line 58

def exit_code
  @exit_code
end

#process_managerObject (readonly)

Returns the value of attribute process_manager.



58
59
60
# File 'lib/proxymgr/haproxy/process.rb', line 58

def process_manager
  @process_manager
end