Class: Tlb::BalancerProcess
- Inherits:
-
Object
- Object
- Tlb::BalancerProcess
- Defined in:
- lib/tlb.rb
Direct Known Subclasses
Defined Under Namespace
Classes: StreamPumper
Instance Method Summary collapse
- #die ⇒ Object
-
#initialize(server_command) ⇒ BalancerProcess
constructor
A new instance of BalancerProcess.
- #stop_pumping ⇒ Object
Constructor Details
#initialize(server_command) ⇒ BalancerProcess
Returns a new instance of BalancerProcess.
147 148 149 150 151 |
# File 'lib/tlb.rb', line 147 def initialize server_command pumper_type, out, err = start(server_command) @out_pumper = pumper_type.new(out, TLB_OUT_FILE) @err_pumper = pumper_type.new(err, TLB_ERR_FILE) end |