public class SnmpConfigurator.InnerPDUFactory extends Object implements PDUFactory
| Constructor and Description |
|---|
InnerPDUFactory(Map<String,List<Object>> settings) |
| Modifier and Type | Method and Description |
|---|---|
PDU |
createPDU(MessageProcessingModel messageProcessingModel)
Creates a
PDU instance that is compatible with the given SNMP version
(message processing model). |
PDU |
createPDU(Target target)
Creates a
PDU instance for the supplied target. |
Integer |
getMaxRepetitions() |
Integer |
getNonRepeaters() |
public PDU createPDU(Target target)
PDUFactoryPDU 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.createPDU in interface PDUFactorytarget - the Target where the PDU to be created will be sent.public PDU createPDU(MessageProcessingModel messageProcessingModel)
PDUFactoryPDU instance that is compatible with the given SNMP version
(message processing model).createPDU in interface PDUFactorymessageProcessingModel - a MessageProcessingModel instance.PDU instance that is compatible with the given SNMP version
(message processing model).public Integer getMaxRepetitions()
public Integer getNonRepeaters()
Copyright © 2020 SNMP4J.org. All rights reserved.