[SNMP4J] CommandResponderEvent creation time

Matthieu Casanova chocolat.mou at gmail.com
Tue Jan 2 14:59:04 CET 2007


Hi, happy new year.
I'm using snmp4j to receive traps, and I'm doing things on them
asynchronously
(I have set a max priority on my transport thread), and the traps are stored
in a List
and processed by another thread.
But I need to know when a trap arrived, so I create a class like that

class Event
{
 CommandResponderEvent evt;
 long time = System.currentTimeMillis();
}


but it would easier if the CommandResponderEvent could have a field with
it's timestamp.
Would it be possible to add that ?

thanks

Matthieu



More information about the SNMP4J mailing list