public void addEventListener(ZWaveEventListener eventListener){
synchronized (zwaveEventListeners) {
    if (zwaveEventListeners.contains(eventListener)) {
      logger.debug("Event Listener {} already registered",eventListener);
      return;
    }
    zwaveEventListeners.add(eventListener);
  }
}

public void addEventListener ( ZWaveEventListener eventListener ) { synchronized ( zwaveEventListeners ) { if ( zwaveEventListeners . contains ( eventListener ) ) { logger . debug ( "Event Listener {} already registered" , eventListener ) ; return ; } zwaveEventListeners . add ( eventListener ) ; } }
add a listener for zwave events to this controller .
