Ejemplo n.º 1
0
  /**
   * Create the SNMP trap session and create the communication channel to communicate with eventd.
   *
   * @exception java.lang.reflect.UndeclaredThrowableException if an unexpected database, or IO
   *     exception occurs.
   * @see org.opennms.protocols.snmp.SnmpTrapSession
   * @see org.opennms.protocols.snmp.SnmpTrapHandler
   */
  public synchronized void onStart() {
    m_status = STARTING;

    LogUtils.debugf(this, "start: Initializing the trapd config factory");

    m_processor.start();
    m_status = RUNNING;

    LogUtils.debugf(this, "start: Trapd ready to receive traps");
  }