This command broadcasts the message throughout the field. Any player
near enough (specified with audio_cut_dist default 50.0 meters), with
enough hearing capacity will hear the message.

@param message A valid String to say.
431943
public void addSayCommand(String message) {
        StringBuilder buf = new StringBuilder();
        buf.append("(say ");
        buf.append(message);
        buf.append(')');
        fifo.add(fifo.size(), buf.toString());
    }
1243974
public void broadcast (ClientObject caller, String message, InvocationListener listener)
        throws InvocationException
    {
        BodyObject body = _locator.forClient(caller);

        // make sure the requesting user has broadcast privileges
        InvocationException.requireAccess(body, ChatCodes.BROADCAST_ACCESS);
        broadcast(body.getVisibleName(), null, message, false, true);
    }
1304401
@Override
  public void onMessage(WebSocket webSocket, String message) {
    JsonObject json = new JsonParser().parse(message).getAsJsonObject();
    if (json.has(ERROR)) {
      String error = json.get(ERROR).getAsString();

      // Only call onError() if a real error occurred. The STT service sends
      // {"error" : "No speech detected for 5s"} for valid timeouts, configured by
      // RecognizeUsingWebSocketOptions.Builder.inactivityTimeout()
      if (!error.startsWith(TIMEOUT_PREFIX)) {
        callback.onError(new RuntimeException(error));
      } else {
        // notify that the service timeouts because of inactivity
        callback.onInactivityTimeout(new RuntimeException(error));
      }
    } else if (json.has(RESULTS) || json.has(SPEAKER_LABELS)) {
      callback.onTranscription(GSON.fromJson(message, SpeechRecognitionResults.class));

    } else if (json.has(STATE)) {
      // A listen state after everything has been sent over indicates everything has been processed
      if (!isListening) {
        isListening = true;
      } else {
        callback.onTranscriptionComplete();
        socket.close(CLOSE_NORMAL, "Transcription completed");
        return;
      }

      // notify that the service is ready to receive audio
      callback.onListening();
    }
  }
1355990
public void warn(final String message) {
        messages.add(new LogMessage(message, LogMessage.Type.WARN));
        log.warn(message);
    }
344984
@Override
    public void emit(Level level, String message, long sequence) {
        if (_broadcaster != null) _broadcaster.sendNotification(new Notification(
            level.toString(),
            _name != null ? _name : this,
            sequence,
            message
        ));
    }
688033
public void broadcast(Iterator<String> peers, Message message) {
    while (peers.hasNext()) {
      send(peers.next(), message);
    }
  }
1321249
public void sendMessage(final String message) {
        try {
            session.sendMessage(new TextMessage(message));
        }
        catch (IOException e) {
            logger.error("[sendTextMessage]", e);
        }
    }
1227748
public void setAlertMessage(final String MESSAGE) {
        if (null == alertMessage) {
            _alertMessage = MESSAGE;
            fireUpdateEvent(ALERT_EVENT);
        } else {
            alertMessage.set(MESSAGE);
        }
    }
235425
public void warn(String message, Object ... args) {
    if (log.isWarnEnabled()) {
      log.warn(String.format(message, args));
    }
  }
390297
def messageReceived(self, message):
        
        if len(message) == 2:
            # compatibility receiving of tag as first part
            # of multi-part message
            self.gotMessage(message[1], message[0])
        else:
            self.gotMessage(*reversed(message[0].split(b'\0', 1)))
634776
public void sendMessage(final byte[] message) {
        try {
            session.sendMessage(new BinaryMessage(message));
        }
        catch (IOException e) {
            logger.error("[sendBinaryMessage]", e);
        }
    }
288692
public void onMessage(WSMessage message) {
        log.trace("Listeners: {}", listeners.size());
        for (IWebSocketDataListener listener : listeners) {
            try {
                listener.onWSMessage(message);
            } catch (Exception e) {
                log.warn("onMessage exception", e);
            }
        }
    }
828801
public void setMessage(CharSequence message){
        if(mConstruct != null && !mConstruct.getDesign().isMaterial()){
            TextView msgView = (TextView) getDialog().findViewById(R.id.message);
            msgView.setText(message);
        }else{
            if(mMessage != null){
                mMessage.setText(message);
            }
        }
    }
572121
public void setMessage(String message) {
    pushData.clear();
    Map<String, Object> map = AVUtils.createStringObjectMap("alert", message);
    pushData.put("data", map);
  }
233754
public static void message(String message) {
           getMessageCenter().notify(new Message(message, Message.Severity.Info));
       }
1370124
public void onInboundMessage(Message message, TestContext context) {
        if (message != null) {
            for (MessageListener listener : messageListener) {
                listener.onInboundMessage(message, context);
            }
        }
    }
199201
protected void addMessage(String message)
    {
        messages.add(message);
        messageCount++;
        if (messageCount > messagesQueueMax)
        {
            messages.remove();
            messageCount--;
        }
    }