code: public void doAddListener(BaseListener listener)
      {
          if (m_nextListener != null)
              m_nextListener.doAddListener(listener);
          else
              m_nextListener = listener;
      }
docs: Add a listener to the end of the chain.
  @param listener The listener to add.