Save This Page
Home » JBoss-5.1.0 » org.jboss.jmx.adaptor.snmp » agent » [javadoc | source]
public class: TrapEmitter [javadoc | source]
TrapEmitter is a class that manages SNMP trap emission. Currently, it allows to send V1 or V2 traps to one or more subscribed SNMP managers defined by their IP address, listening port number and expected SNMP version.
 public TrapEmitter(String trapFactoryClassName,
    Counter trapCount,
    Clock uptime,
    String managersResName,
    String notificationMapResName) 
    Builds a TrapEmitter object for sending SNMP V1 or V2 traps.

Method from org.jboss.jmx.adaptor.snmp.agent.TrapEmitter Summary:
send,   start,   stop
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.jmx.adaptor.snmp.agent.TrapEmitter Detail:
 public  void send(Notification n) throws Exception 
    Intercepts the notification and after translating it to a trap sends it along.
 public  void start() throws Exception 
    Complete emitter initialisation *
 public  void stop() throws Exception 
    Perform shutdown *