@SuppressWarnings("unchecked") protected void notifyMessage(QsiMessage m,QsiListener notMe){
  Vector<QsiListener> v;
synchronized (this) {
    v=(Vector<QsiListener>)cmdListeners.clone();
  }
  int cnt=v.size();
  for (int i=0; i < cnt; i++) {
    QsiListener client=v.elementAt(i);
    if (notMe != client) {
      log.debug("notify client: {}",client);
      try {
        client.message(m);
      }
 catch (      Exception e) {
        log.warn("notify: During dispatch to " + client + "\nException "+ e);
      }
    }
  }
}

@ SuppressWarnings ( "unchecked" ) protected void notifyMessage ( QsiMessage m , QsiListener notMe ) { Vector < QsiListener > v ; synchronized ( this ) { v = ( Vector < QsiListener > ) cmdListeners . clone ( ) ; } int cnt = v . size ( ) ; for ( int i = 0 ; i < cnt ; i ++ ) { QsiListener client = v . elementAt ( i ) ; if ( notMe != client ) { log . debug ( "notify client: {}" , client ) ; try { client . message ( m ) ; } catch ( Exception e ) { log . warn ( "notify: During dispatch to " + client + "\nException " + e ) ; } } } }
forward a qsimessage to all registered qsiinterface listeners .
