org.snmp4j.util
Class SnmpConfigurator.InnerPDUFactory

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

public class SnmpConfigurator.InnerPDUFactory
extends java.lang.Object
implements PDUFactory


Constructor Summary
SnmpConfigurator.InnerPDUFactory(java.util.Map settings)
           
 
Method Summary
 PDU createPDU(Target target)
          Create a PDU instance for the supplied target.
 java.lang.Integer getMaxRepetitions()
           
 java.lang.Integer getNonRepeaters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnmpConfigurator.InnerPDUFactory

public SnmpConfigurator.InnerPDUFactory(java.util.Map settings)
Method Detail

createPDU

public PDU createPDU(Target target)
Description copied from interface: PDUFactory
Create 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.

getMaxRepetitions

public java.lang.Integer getMaxRepetitions()

getNonRepeaters

public java.lang.Integer getNonRepeaters()

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.