class Pdns::Remotebackend::Pipe

Public Instance Methods

run() click to toggle source
# File lib/pdns/remotebackend.rb, line 290
def run
  begin
    STDOUT.sync=true
    if (@options.has_key? :abi and @options[:abi].to_sym == :pipe) 
        mainloop3 STDIN,STDOUT
    else
        mainloop4 STDIN,STDOUT
    end
  rescue SystemExit, Interrupt
  end
end