code: public void addEventSourceListener(EventSourceListener listener) {
          LOG.entering(CLASS_NAME, "addEventSourceListener", listener);
          if (listener == null) {
              throw new NullPointerException("listener");
          }
          listeners.add(listener);
      }
docs: Register a listener for EventSource events
  
  @param listener