public class SnmpUdpV1Manager extends SnmpManager
| Modifier and Type | Field and Description |
|---|---|
protected String |
snmpCommunity |
protected org.snmp4j.smi.UdpAddress |
udpAddress |
loader, maxRepetitions, maxSizeRequestPDU, pduFactory, retries, snmp, timeout| Constructor and Description |
|---|
SnmpUdpV1Manager(net.percederberg.mibble.MibLoader loader)
Constructor for SnmpUdpV1Manager.
|
SnmpUdpV1Manager(net.percederberg.mibble.MibLoader loader,
String ipAddress,
String snmpCommunity,
int retries,
int timeout,
int maxSizeRequestPDU,
int maxRepetitions,
int destinationPort)
Constructor for SnmpUdpV1Manager.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.snmp4j.PDU |
createPDU()
createPDU.
|
protected void |
doInit()
doInit.
|
protected void |
doSetParameters(Map<String,String> conParams)
doSetParameters.
|
String |
getSnmpCommunity()
Getter for the field
snmpCommunity. |
protected org.snmp4j.Target |
getTarget()
getTarget.
|
org.snmp4j.smi.UdpAddress |
getUdpAddress()
Getter for the field
udpAddress. |
void |
setSnmpCommunity(String snmpCommunity)
Setter for the field
snmpCommunity. |
void |
setUdpAddress(org.snmp4j.smi.UdpAddress udpAddress)
Setter for the field
udpAddress. |
convertStringToIntParam, fillTreeFromSNMP, getLoader, getMaxRepetitions, getMaxSizeRequestPDU, getRetries, getSnmp, getSymbolFromMibByOid, getTimeout, init, main, set, setLoader, setMaxRepetitions, setMaxSizeRequestPDU, setParameters, setRetries, setSnmp, setTimeout, snmpGet, snmpGet, snmpGet, snmpGetNext, snmpGetNext, snmpWalk, snmpWalkToStringprotected String snmpCommunity
protected org.snmp4j.smi.UdpAddress udpAddress
public SnmpUdpV1Manager(net.percederberg.mibble.MibLoader loader,
String ipAddress,
String snmpCommunity,
int retries,
int timeout,
int maxSizeRequestPDU,
int maxRepetitions,
int destinationPort)
throws IOException
Constructor for SnmpUdpV1Manager.
loader - a MibLoader object.ipAddress - a String object.snmpCommunity - a String object.retries - a int.timeout - a int.maxSizeRequestPDU - a int.maxRepetitions - a int.destinationPort - a int.IOException - if any.public SnmpUdpV1Manager(net.percederberg.mibble.MibLoader loader)
Constructor for SnmpUdpV1Manager.
loader - a MibLoader object.protected void doInit()
doInit.
doInit in class SnmpManagerprotected void doSetParameters(Map<String,String> conParams)
doSetParameters.
doSetParameters in class SnmpManagerconParams - a Map object.protected org.snmp4j.Target getTarget()
getTarget.
getTarget in class SnmpManagerTarget object.protected org.snmp4j.PDU createPDU()
createPDU.
createPDU in class SnmpManagerPDU object.public String getSnmpCommunity()
Getter for the field snmpCommunity.
String object.public void setSnmpCommunity(String snmpCommunity)
Setter for the field snmpCommunity.
snmpCommunity - a String object.public org.snmp4j.smi.UdpAddress getUdpAddress()
Getter for the field udpAddress.
UdpAddress object.public void setUdpAddress(org.snmp4j.smi.UdpAddress udpAddress)
Setter for the field udpAddress.
udpAddress - a UdpAddress object.Copyright © 2016 iTransformers Labs. All rights reserved.