Class: ProxyMgr::Haproxy::Process
- Inherits:
-
Object
- Object
- ProxyMgr::Haproxy::Process
- Includes:
- Logging
- Defined in:
- lib/proxymgr/haproxy/process.rb
Instance Attribute Summary collapse
-
#exit_code ⇒ Object
readonly
Returns the value of attribute exit_code.
-
#process_manager ⇒ Object
readonly
Returns the value of attribute process_manager.
Instance Method Summary collapse
-
#initialize(path, config_file, fds, old_pid = nil, &callback) ⇒ Process
constructor
A new instance of Process.
Methods included from Logging
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_code ⇒ Object (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_manager ⇒ Object (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 |