|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.snmpadaptor4j.api.opennms.OpennmsSnmpApiFactory
public final class OpennmsSnmpApiFactory
Factory of facades to joesnmp API.
Constructor Summary | |
---|---|
OpennmsSnmpApiFactory()
Constructor. |
Method Summary | |
---|---|
SnmpDaemon |
newSnmpDaemon(SnmpDaemonConfiguration configuration,
SnmpMib snmpMib)
Creates and returns a new instance of SNMP daemon. |
SnmpTrapSender |
newSnmpTrapSender(InetAddress agentAddress,
String managerAddress,
int managerPort,
int managerVersion,
String managerCommunity)
Creates and returns a new instance of SNMP trap sender. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OpennmsSnmpApiFactory()
Method Detail |
---|
public SnmpDaemon newSnmpDaemon(SnmpDaemonConfiguration configuration, SnmpMib snmpMib)
SnmpApiFactory
newSnmpDaemon
in interface SnmpApiFactory
configuration
- Configuration settings of SNMP daemon.snmpMib
- SNMP Management Information Base (MIB).
public SnmpTrapSender newSnmpTrapSender(InetAddress agentAddress, String managerAddress, int managerPort, int managerVersion, String managerCommunity)
SnmpApiFactory
newSnmpTrapSender
in interface SnmpApiFactory
agentAddress
- IP address of SNMP agent (must be a local address of the host).managerAddress
- IP address of SNMP manager responsible of traps handling.managerPort
- UDP port of SNMP manager responsible of traps handling.managerVersion
- Protocol version of SNMP manager.managerCommunity
- Community of SNMP manager.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |