public class TargetV1 extends TargetBase
agent, config, storageNotify, storageVacmAccess, storageVacmGroup, storageVacmViewTree
Constructor and Description |
---|
TargetV1(java.lang.String targetName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addCommunities(org.snmp4j.agent.mo.snmp.SnmpCommunityMIB communityMIB)
Adds communities
|
void |
addNotificationTargets(org.snmp4j.agent.mo.snmp.SnmpTargetMIB targetMIB,
org.snmp4j.agent.mo.snmp.SnmpNotificationMIB notificationMIB)
Adds notification target
|
void |
addViews(org.snmp4j.agent.mo.snmp.VacmMIB vacm)
Adds VACM views
|
void |
init(AgentWorker aw)
Initializes target
|
addNotificationEntry, addNotificationEntry, addTargetAddress, addTargetAddress, addTargetParams, addUsmUser, createNotificationName, getProcessingModel, getSecurityLevel, getSecurityModel, getTargetAddrName, getTargetName, getTargetParamsName, getTransportAddress, getTransportDomainOID, setSNMP, toString
public TargetV1(java.lang.String targetName)
targetName
- target (V1 community name)public void init(AgentWorker aw) throws FException
init
in class TargetBase
aw
- agentFException
- exception may be thrown in derived classTargetBase.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 addCommunities(org.snmp4j.agent.mo.snmp.SnmpCommunityMIB communityMIB)
addCommunities
in class TargetBase
communityMIB
- community MIBTargetBase.addCommunities(org.snmp4j.agent.mo.snmp.SnmpCommunityMIB)
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)