Package 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
-
-
Constructor Summary
Constructors Constructor Description JoeSnmpV2TrapBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddVarBind(SnmpObjId name, SnmpValue value)voidsend(String destAddr, int destPort, String community)voidsendTest(String destAddr, int destPort, String community)
-
-
-
Method Detail
-
send
public void send(String destAddr, int destPort, String community) throws Exception
- Specified by:
sendin interfaceSnmpTrapBuilder- Throws:
Exception
-
sendTest
public void sendTest(String destAddr, int destPort, String community) throws Exception
- Specified by:
sendTestin interfaceSnmpTrapBuilder- Throws:
Exception
-
addVarBind
public void addVarBind(SnmpObjId name, SnmpValue value)
- Specified by:
addVarBindin interfaceSnmpTrapBuilder
-
-