public class SnmpTcpV1Manager extends SnmpManager
| Modifier and Type | Field and Description |
|---|---|
protected String |
snmpCommunity |
protected org.snmp4j.smi.TcpAddress |
tcpAddress |
loader, maxRepetitions, maxSizeRequestPDU, pduFactory, retries, snmp, timeout| Constructor and Description |
|---|
SnmpTcpV1Manager(net.percederberg.mibble.MibLoader loader)
Constructor for SnmpTcpV1Manager.
|
SnmpTcpV1Manager(net.percederberg.mibble.MibLoader loader,
String ipAddress,
String snmpCommunity,
int retries,
int timeout,
int maxSizeRequestPDU,
int maxRepetitions,
int destinationPort)
Constructor for SnmpTcpV1Manager.
|
| 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.TcpAddress |
getTcpAddress()
Getter for the field
tcpAddress. |
void |
setSnmpCommunity(String snmpCommunity)
Setter for the field
snmpCommunity. |
void |
setTcpAddress(org.snmp4j.smi.TcpAddress tcpAddress)
Setter for the field
tcpAddress. |
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.TcpAddress tcpAddress
public SnmpTcpV1Manager(net.percederberg.mibble.MibLoader loader,
String ipAddress,
String snmpCommunity,
int retries,
int timeout,
int maxSizeRequestPDU,
int maxRepetitions,
int destinationPort)
throws IOException
Constructor for SnmpTcpV1Manager.
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 SnmpTcpV1Manager(net.percederberg.mibble.MibLoader loader)
Constructor for SnmpTcpV1Manager.
loader - a MibLoader object.protected void doInit()
throws IOException
doInit.
doInit in class SnmpManagerIOException - if any.protected 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.TcpAddress getTcpAddress()
Getter for the field tcpAddress.
TcpAddress object.public void setTcpAddress(org.snmp4j.smi.TcpAddress tcpAddress)
Setter for the field tcpAddress.
tcpAddress - a TcpAddress object.Copyright © 2016 iTransformers Labs. All rights reserved.