[SNMP4J] java.io.InterruptedIOException: operation interrupted
Frank Fock
fock at agentpp.com
Fri Sep 24 00:32:39 CEST 2004
Hi Mathias,
When you call Snmp.close() you implicitly call close() on all
associated transport mappings. Why do you call close() when
you have oustanding requests?
The only way to assure that you have waited for all time-outs
is to use synchronous requests.
Best regards,
Frank
Mathias Bogaert wrote:
> Hi,
>
> When calling close() on the Snmp instance, I frequently get 10466042
> WARN [Thread-903] (snmp4j.transport.DefaultUdpTransportMapping:193) -
> java.io.InterruptedIOException: operation interrupted.
> What exactly does this mean? That the stack is stopping listening for
> any incoming messages? If so, how can I wait for all possibe time-outs
> to occur before closing the stack?
>
> Thanks,
>
> Mathias Bogaert
>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://p15141779.pureserver.info/mailman/listinfo/snmp4j
>
More information about the SNMP4J
mailing list