Package org.opennms.netmgt.notifd
Class SnmpTrapNotificationStrategy
- java.lang.Object
-
- org.opennms.netmgt.notifd.SnmpTrapNotificationStrategy
-
- All Implemented Interfaces:
NotificationStrategy
public class SnmpTrapNotificationStrategy extends java.lang.Object implements NotificationStrategy
SnmpTrapNotificationStrategy class.
- Version:
- $Id: $
- Author:
- david
-
-
Constructor Summary
Constructors Constructor Description SnmpTrapNotificationStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intsend(java.util.List<Argument> arguments)sendvoidsendV1Trap()sendV1TrapvoidsendV2Trap()sendV2Trap
-
-
-
Method Detail
-
send
public int send(java.util.List<Argument> arguments)
send
- Specified by:
sendin interfaceNotificationStrategy- Parameters:
arguments- aListobject.- Returns:
- a int.
-
sendV1Trap
public void sendV1Trap() throws java.lang.ExceptionsendV1Trap
- Throws:
java.lang.Exception- if any.
-
sendV2Trap
public void sendV2Trap() throws java.lang.ExceptionsendV2Trap
- Throws:
java.lang.Exception- if any.
-
-