Module org.snmp4j

Class SnmpConfigurator.InnerPDUFactory

    • Constructor Summary

      Constructors 
      Constructor Description
      InnerPDUFactory​(java.util.Map<java.lang.String,java.util.List<java.lang.Object>> settings)  
    • Constructor Detail

      • InnerPDUFactory

        public InnerPDUFactory​(java.util.Map<java.lang.String,java.util.List<java.lang.Object>> settings)
    • Method Detail

      • 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 java.lang.Integer getMaxRepetitions()
      • getNonRepeaters

        public java.lang.Integer getNonRepeaters()