logs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Logs-devel] window class


From: Jim Prewett
Subject: [Logs-devel] window class
Date: Wed, 8 Jun 2005 08:00:10 -0600 (MDT)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi all,

I've just added a new class to LoGS, the window class.  Windows are for 
expressing things like "10 messages within 2 minutes".  The window class 
is essentially like a context except that messages are stored internal to 
the window class as a list of the timestamp and the message.  Further, the 
window class uses a doubly-linked-list instead of an array underneath so 
that messages may more easily be deleted from the context (because they 
are too old).

Since windows inherit from contexts, they have all of the same features as 
contexts (including timeouts, maximum line counts (which, in this case do 
not include "old" messages), action lists, etc.)

Jim

James E. Prewett                    address@hidden address@hidden 
Systems Team Leader                 http://www.hpc.unm.edu/~download/ 
Designated Security Officer         OpenPGP key: pub 1024D/31816D93    
HPC Systems Engineer III   UNM HPC  505.277.8210
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFCpvnwv/zdxjGBbZMRApGZAKCUn8nQpjJqvslJjCI6IKXWHPDeOACfY8FL
qyoPaReUdupjSXzJBEMK4Uo=
=s9eP
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]