java.lang.Object
org.snmp4j.util.SnmpConfigurator.InnerPDUFactory
- All Implemented Interfaces:
PDUFactory
- Enclosing class:
SnmpConfigurator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreatePDU
(MessageProcessingModel messageProcessingModel) Creates aPDU
instance that is compatible with the given SNMP version (message processing model).Creates aPDU
instance for the supplied target.
-
Constructor Details
-
InnerPDUFactory
-
-
Method Details
-
createPDU
Description copied from interface:PDUFactory
Creates aPDU
instance 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:
createPDU
in interfacePDUFactory
- Parameters:
target
- theTarget
where 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:PDUFactory
Creates aPDU
instance that is compatible with the given SNMP version (message processing model).- Specified by:
createPDU
in interfacePDUFactory
- Parameters:
messageProcessingModel
- aMessageProcessingModel
instance.- Returns:
- a
PDU
instance that is compatible with the given SNMP version (message processing model).
-
getMaxRepetitions
-
getNonRepeaters
-