public class TargetV3 extends TargetBase
agent, config, storageNotify, storageVacmAccess, storageVacmGroup, storageVacmViewTree
Constructor and Description |
---|
TargetV3(java.lang.String targetName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addNotificationTargets(org.snmp4j.agent.mo.snmp.SnmpTargetMIB targetMIB,
org.snmp4j.agent.mo.snmp.SnmpNotificationMIB notificationMIB)
Adds notification target
|
void |
addUsmUser(org.snmp4j.security.USM usm)
Adds USM user
|
void |
addViews(org.snmp4j.agent.mo.snmp.VacmMIB vacm)
Adds VACM views
|
void |
init(AgentWorker aw)
Initializes target
|
addCommunities, addNotificationEntry, addNotificationEntry, addTargetAddress, addTargetAddress, addTargetParams, createNotificationName, getProcessingModel, getSecurityLevel, getSecurityModel, getTargetAddrName, getTargetName, getTargetParamsName, getTransportAddress, getTransportDomainOID, setSNMP, toString
public TargetV3(java.lang.String targetName)
targetName
- target (user / security name)public void init(AgentWorker aw) throws FException
init
in class TargetBase
aw
- agentFException
- exception if decryption failsTargetBase.init(org.friendlysnmp.AgentWorker)
public void addViews(org.snmp4j.agent.mo.snmp.VacmMIB vacm)
addViews
in class TargetBase
vacm
- VACM MIBTargetBase.addViews(org.snmp4j.agent.mo.snmp.VacmMIB)
public void addUsmUser(org.snmp4j.security.USM usm)
addUsmUser
in class TargetBase
usm
- USM userTargetBase.addUsmUser(org.snmp4j.security.USM)
public void addNotificationTargets(org.snmp4j.agent.mo.snmp.SnmpTargetMIB targetMIB, org.snmp4j.agent.mo.snmp.SnmpNotificationMIB notificationMIB)
addNotificationTargets
in class TargetBase
targetMIB
- target MIBnotificationMIB
- notification MIBTargetBase.addNotificationTargets(
org.snmp4j.agent.mo.snmp.SnmpTargetMIB, org.snmp4j.agent.mo.snmp.SnmpNotificationMIB)