Module org.snmp4j

Class SnmpConfigurator.InnerPDUFactory

java.lang.Object
org.snmp4j.util.SnmpConfigurator.InnerPDUFactory
All Implemented Interfaces:
PDUFactory
Enclosing class:
SnmpConfigurator

public class SnmpConfigurator.InnerPDUFactory extends Object implements PDUFactory
  • Constructor Details

  • Method Details

    • createPDU

      public PDU createPDU(Target<?> target)
      Description copied from interface: PDUFactory
      Creates a PDU 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 interface PDUFactory
      Parameters:
      target - the Target where the PDU to be created will be sent.
      Returns:
      PDU a PDU instance that is compatible with the supplied target.
    • createPDU

      public PDU createPDU(MessageProcessingModel messageProcessingModel)
      Description copied from interface: PDUFactory
      Creates a PDU instance that is compatible with the given SNMP version (message processing model).
      Specified by:
      createPDU in interface PDUFactory
      Parameters:
      messageProcessingModel - a MessageProcessingModel instance.
      Returns:
      a PDU instance that is compatible with the given SNMP version (message processing model).
    • getMaxRepetitions

      public Integer getMaxRepetitions()
    • getNonRepeaters

      public Integer getNonRepeaters()