Parent

Methods

BackgrounDRb::PacketLogger

this class is a dummy class that implements things required for passing data to actual logger worker

Public Class Methods

new(worker,log_flag = true) click to toggle source

(Not documented)

   # File server/lib/meta_worker.rb, line 5
5:     def initialize(worker,log_flag = true)
6:       @log_flag = log_flag
7:       @worker = worker
8:       @log_mutex = Mutex.new
9:     end

secsequence

--- SEC00030

seccomment

--- ""

method_list

--- 
- methods: 
  - visibility: public
    aref: M000027
    name: new
    sourcecode: "   <span class=\"ruby-comment cmt\"># File server/lib/meta_worker.rb, line 5</span>\n\
      5:     <span class=\"ruby-keyword kw\">def</span> <span class=\"ruby-identifier\">initialize</span>(<span class=\"ruby-identifier\">worker</span>,<span class=\"ruby-identifier\">log_flag</span> = <span class=\"ruby-keyword kw\">true</span>)\n\
      6:       <span class=\"ruby-ivar\">@log_flag</span> = <span class=\"ruby-identifier\">log_flag</span>\n\
      7:       <span class=\"ruby-ivar\">@worker</span> = <span class=\"ruby-identifier\">worker</span>\n\
      8:       <span class=\"ruby-ivar\">@log_mutex</span> = <span class=\"ruby-constant\">Mutex</span>.<span class=\"ruby-identifier\">new</span>\n\
      9:     <span class=\"ruby-keyword kw\">end</span>"
    params: (worker,log_flag = true)
  category: Class
  type: Public

sectitle

--- 

[Validate]

Generated with the Darkfish Rdoc Generator.