[SNMP4J] SNMP4J v1.1 Released

Frank Fock fock at agentpp.com
Wed Feb 2 23:45:02 CET 2005


SNMP4J v1.1 has been released and can be downloaded from
http://www.snmp4j.org/SNMP4J.zip

The new version contains several bug fixes and new convenience
methods for the Snmp class providing easier management of
notification listeners and on-the-fly assignment of the PDU type
when sending requests with the get, set, getNext, getBulk, inform
and notify methods.

The Snmp.sendPDU methods are now deprecated, because
they do not return the peer address. The new Snmp.send methods
return a ResponseEvent object that provides this information.

RELEASE NOTES

CHANGES since v1.0.4d:

* Improved: ResponseEvent now includes the peer address
  of the response sending entity.
* Added: PDU.toArray() and PDU.addAll(VariableBinding[]).
* Added: OID.trim(int n) which removes the n rightmost
  subidentifiers of an OID.
* Changed: MessageDispatcherImpl.addTransportMapping
  does not replace a transport mapping for the same
  address class any more.
* Changed: Snmp.sendPDU methods are now deprecated, because
  they do not return the peer address. The new
  Snmp.send methods return a ResponseEvent object that
  provides this information.
* Added: PDU type send methods that set the PDU type when
  sending the PDU.
* Added: Snmp.addNotificationListener() and related methods
  to support simple (de)registration of inbound only transport
  mappings.
* Improved: Snmp's and DefaultTcpTransportMapping's threads
  now run as daemon threads and thus no longer prevents an
  application to exit. Nevertheless, it is strongly
  recommended to call Snmp.close() before exiting to close
  all ports nicely.
* Improved: Removed redundant class UsmUserNameTable.
* Added: Methods to extract and delete USM users (USM class).
* Improved: MPv3.Cache entries are now removed even if the
  target agent does not respond.
* Changed: Made OctetString.isPrintable() public.
* Added: TransportMapping.isListening().
* Added: TransportMappings class which allows generic mapping
  of address classes to transport mappings.
* Fixed: TableUtils did not handle sparse tables correctly.
* Fixed: MPv3.setLocalEngineID did not check parameter.
* Fixed: DefaultPDUFactory did not create SNMPv3 ScopedPDUs.
* Changed: Replaced -D option of console tool by -d to avoid
  name clashes with JVM option -D.

Frank Fock






More information about the SNMP4J mailing list