code: public void updateSendAllowed(boolean oldSendAllowed, boolean newSendAllowed)
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc,
                    "updateSendAllowed", 
                    new Object[] {Boolean.valueOf(oldSendAllowed), Boolean.valueOf(newSendAllowed)});
        
      if(oldSendAllowed && !newSendAllowed)
        setForeignBusSendAllowed(false);
      else if(!oldSendAllowed && newSendAllowed)
        setForeignBusSendAllowed(true);
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "updateSendAllowed");
   
    }
docs: Update sendAllowed setting for this bus and any targetting Handlers.
  
  @param foreignBusDefinition