java.lang.Object
org.snmp4j.util.SnmpConfigurator.InnerPDUFactory
- All Implemented Interfaces:
PDUFactory
- Enclosing class:
SnmpConfigurator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePDU(MessageProcessingModel messageProcessingModel) Creates aPDUinstance that is compatible with the given SNMP version (message processing model).Creates aPDUinstance for the supplied target.
-
Constructor Details
-
InnerPDUFactory
-
-
Method Details
-
createPDU
Description copied from interface:PDUFactoryCreates aPDUinstance for the supplied target. The created PDU has to be compliant to the SNMP version defined by the supplied target. For example, a SNMPv3 target requires a ScopedPDU instance.- Specified by:
createPDUin interfacePDUFactory- Parameters:
target- theTargetwhere the PDU to be created will be sent.- Returns:
- PDU a PDU instance that is compatible with the supplied target.
-
createPDU
Description copied from interface:PDUFactoryCreates aPDUinstance that is compatible with the given SNMP version (message processing model).- Specified by:
createPDUin interfacePDUFactory- Parameters:
messageProcessingModel- aMessageProcessingModelinstance.- Returns:
- a
PDUinstance that is compatible with the given SNMP version (message processing model).
-
getMaxRepetitions
-
getNonRepeaters
-