/** * Send a text message in parts, blocking until all of the message has been transmitted. The runtime * reads the message in order. Non-final parts of the message are sent with isLast set to false. The final part * must be sent with isLast set to true. * * @param partialMessage the parts of the message being sent. * @param isLast Whether the partial message being sent is the last part of the message. * @throws IOException if there is a problem delivering the message fragment. * @throws IllegalArgumentException if the partialMessage is {@code null}. */ void sendText(String partialMessage, boolean isLast) throws IOException;