[SNMP4J] Re: How will ignore a trap?
Oancea Daniel
doancea at gmail.com
Thu Jan 19 17:26:28 CET 2006
On 1/19/06, Oancea Daniel <doancea at gmail.com> wrote:
>
> Hi all,
>
> I'm newest in SNMP, and after I read documentation I'm was able to, made
> an application which catch SNMP traps.
>
> The problem is the follow. How I can make that my application which listen
> on particular network port, to ignore some traps that are send it to my
> application for a particular time period?
>
> I find a method called. setSocketTimeout (int i); in class
> DefaultUDPMappingTransport.
>
> This has to be enough in order to achieve that? Or not?
>
> I made somethink like:
>
> .............
> snmp.listen();
> snmp.setSocketTimeout(20000) // for 20 seconds.
> ............
> Any suggestion will be appreciated!
> Thanks,
> Daniel
>
More information about the SNMP4J
mailing list