Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » QAnywhere » QAnywhere Reference » QAnywhere Java API reference » QAnywhere Java API for clients » QABinaryMessage interface


writeString method

void QABinaryMessage.writeString(
  String val
throws QAException
  • val   The string value to write to the message body.

  • Thrown if there is a problem appending the string value to the message body.


Appends a string value to the QABinaryMessage instance's message body.

Note: The receiving application needs to invoke QABinaryMessage.readString for each writeString invocation.

Note: The UTF-8 representation of the string to be written can be at most 32767 bytes.

See Also

readString method