org.opennms.netmgt.snmp.joesnmp
Class JoeSnmpV2TrapBuilder
java.lang.Object
org.opennms.netmgt.snmp.joesnmp.JoeSnmpV2TrapBuilder
- All Implemented Interfaces:
- SnmpTrapBuilder
public class JoeSnmpV2TrapBuilder
- extends Object
- implements SnmpTrapBuilder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoeSnmpV2TrapBuilder
public JoeSnmpV2TrapBuilder()
send
public void send(String destAddr,
int destPort,
String community)
throws Exception
- Specified by:
send in interface SnmpTrapBuilder
- Throws:
Exception
sendTest
public void sendTest(String destAddr,
int destPort,
String community)
throws Exception
- Specified by:
sendTest in interface SnmpTrapBuilder
- Throws:
Exception
addVarBind
public void addVarBind(SnmpObjId name,
SnmpValue value)
- Specified by:
addVarBind in interface SnmpTrapBuilder
Copyright © 2011. All Rights Reserved.