Deprecated API


Contents
Deprecated Methods
org.snmp4j.TransportMapping.addMessageDispatcher(MessageDispatcher)
          Use TransportMapping.addTransportListener(org.snmp4j.transport.TransportListener) instead. This method has been deprecated because the direct coupling between MessageDispatcher and TransportMappings is not flexible enough and prevents reusing TransportMappings for other purposes. This method will be removed with SNMP4J 2.0. 
org.snmp4j.MessageDispatcher.processMessage(TransportMapping, Address, BERInputStream)
          Use MessageDispatcher.processMessage(TransportMapping,Address,ByteBuffer) instead. 
org.snmp4j.TransportMapping.removeMessageDispatcher(MessageDispatcher)
          Use TransportMapping.removeTransportListener(org.snmp4j.transport.TransportListener) instead. 
org.snmp4j.Snmp.sendPDU(PDU, Target)
          This method has been deprecated because it does not return the transport address of the entity (target) that sent the response. Please use Snmp.send(PDU pdu, Target target) instead. It returns a ResponseEvent object holding the response PDU and transport address of a successfully received response. This method will be supported until v2.0. 
org.snmp4j.Snmp.sendPDU(PDU, Target, Object, ResponseListener)
          Please use Snmp.send(PDU pdu, Target target, Object userHandle, ResponseListener listener) instead. It has exactly the same function but follows the new naming scheme. This method will be supported until v2.0. 
 

Deprecated Constructors
org.snmp4j.smi.BitString()
          The BIT STRING type has been temporarily defined in RFC 1442 and obsoleted by RFC 2578. Use OctetString (i.e. BITS syntax) instead. 
 


Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.