[SNMP4J] Question about mulit threaded trap sending
Frank Fock
fock at agentpp.com
Mon Feb 4 20:00:13 CET 2008
Yes, you can call the notify method from concurrent
threads.
Best regards,
Frank
inliner683 at gmx.de wrote:
>
> Hello,
>
> I have a question about multithreading and sending traps with snmp4j.
>
> In particualar I use an agent implemented with snmp4j and use a custom
> mib file. Here the method
>
> notificationOriginater.notify(...)
>
> can be called with appropriate parameters.
>
> Now the question is, would it cause any problems, passing the possibility
> to multiple threads to be able to call the above method?
>
> It is not a question of performance, just if it is thread-safe.
>
> I know about the ThreadPools that can be configured in the agent implementation,
> but I think these are related to incoming threads and not to sending traps from
> the implementation code of the agent.
>
> Thank you.
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list