code: public void addFaxMonitorEventListener(FaxMonitorEventListener listener)
      {
          boolean faxMonitorEventsSupported=this.isFaxMonitorEventsSupported();
          if(faxMonitorEventsSupported)
          {
              synchronized(this.faxMonitorEventListeners)
              {
                  this.faxMonitorEventListeners.add(listener);
              }
          }
          else
          {
              this.throwUnsupportedException();
          }
      }
docs: This function adds the fax monitor event listener to the internal fax
  event listeners data structure.<br>
  Fax jobs will be monitored only if there are active listeners registered.<br>
  If the listeners are added after a fob job was submitted, that fax job would not be monitored.<br>
  <b>Not all SPIs support monitoring events, in which case this method will throw an exception.</b>
  
  @param   listener
  The fax monitor event listener