public void add(CoreCmd ccmd) throws GondolaException {
  if (cmember.masterId >= 0) {
    throw new GondolaException(GondolaException.Code.SLAVE_MODE,cmember.memberId);
  }
  commandQueue.add(ccmd);
}

public void add ( CoreCmd ccmd ) throws GondolaException { if ( cmember . masterId >= 0 ) { throw new GondolaException ( GondolaException . Code . SLAVE_MODE , cmember . memberId ) ; } commandQueue . add ( ccmd ) ; }
adds command to the command queue . does not block . called by the command object .
