author | Tero Marttila <terom@fixme.fi> |
Sun, 08 Feb 2009 00:29:36 +0200 | |
branch | sites |
changeset 41 | 9585441a4bfb |
permissions | -rw-r--r-- |
41 | 1 |
""" |
2 |
An IRC logfile consists of a series of events, a.k.a. "lines" |
|
3 |
""" |
|
4 |
||
5 |
class LogEvent (object) : |
|
6 |
""" |
|
7 |
An event on some specific channel |
|
8 |
""" |
|
9 |
||
10 |
# the event ype |
|
11 |
type = None |
|
12 |
||
13 |
# the UTC timestamp of the event |
|
14 |
timestamp = None |
|
15 |
||
16 |
# the event source |
|
17 |
source = None |
|
18 |
||
19 |
# associated data (message, etc) |
|
20 |
data = None |
|
21 |