Class XhochY::Drossellog::DailyReport
In: xhochy/drossellog/dailyreport.rb
Parent: Object
LogFileParser LogLine DailyReport IPCounter Drossellog XhochY dot/f_1.png

Reprents the daily report for 1 Domain

Methods

new   to_xml_node  

Public Class methods

Creates a new XYDailyReport Object

Takes a (Lib)XML-Node as information provider

[Source]

    # File xhochy/drossellog/dailyreport.rb, line 13
13:       def initialize(node)
14:         @ipcounter = IPCounter.new()
15:         
16:         node.find('//logs/line').each do |l|
17:           # parse a line
18:           #puts '|' + l.path + '|' + l.find('agent').to_a[0].to_s + '|'
19:         end 
20:       end

Public Instance methods

Return this object as a (Lib)XML-Node

[Source]

    # File xhochy/drossellog/dailyreport.rb, line 23
23:       def to_xml_node
24:         #
25:       end

[Validate]