Package com.redwood.scheduler.api.snmp
Class SNMPTrap
- java.lang.Object
- 
- com.redwood.scheduler.api.snmp.SNMPTrap
 
- 
 public class SNMPTrap extends Object Send SNMP traps.
- 
- 
Constructor SummaryConstructors Constructor Description SNMPTrap()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidsendTrap(SchedulerSession session, String host, BigDecimal port, String community, BigDecimal id, String data)Send an SNMP trap using the parameters passed.static voidsendTrap(String host, BigDecimal port, String community, BigDecimal id, String data)Send an SNMP trap using the parameters passed.
 
- 
- 
- 
Method Detail- 
sendTrappublic static void sendTrap(SchedulerSession session, String host, BigDecimal port, String community, BigDecimal id, String data) throws com.redwood.scheduler.api.exception.UnlicensedFeatureException Send an SNMP trap using the parameters passed. If a null value is passed for a parameter then the default value will be loaded from the registry if it exists.- Parameters:
- session- the scheduler session
- host- the host name
- port- the port number
- community-
- id- the SNMP id
- data- the SNMP data
- Throws:
- com.redwood.scheduler.api.exception.UnlicensedFeatureException
 
 - 
sendTrappublic static void sendTrap(String host, BigDecimal port, String community, BigDecimal id, String data) throws com.redwood.scheduler.api.exception.UnlicensedFeatureException, UnknownHostException, IOException Send an SNMP trap using the parameters passed. All parameters are required- Parameters:
- host- the host name
- port- the port number
- community-
- id- the SNMP id
- data- the SNMP data
- Throws:
- com.redwood.scheduler.api.exception.UnlicensedFeatureException
- UnknownHostException
- IOException
 
 
- 
 
-