# File lib/fluent/plugin/in_debug_agent.rb, line 33 def configure(conf) super if @unix_path unless ::Fluent::FileUtil.writable?(@unix_path) raise ConfigError, "in_debug_agent: `#{@unix_path}` is not writable" end end end
# File lib/fluent/plugin/in_debug_agent.rb, line 54 def shutdown @server.stop_service if @server end
# File lib/fluent/plugin/in_debug_agent.rb, line 42 def start if @unix_path require 'drb/unix' uri = "drbunix:#{@unix_path}" else uri = "druby://#{@bind}:#{@port}" end log.info "listening dRuby", :uri => uri, :object => @object obj = eval(@object) @server = DRb::DRbServer.new(uri, obj) end
Generated with the Darkfish Rdoc Generator 2.