0
* Send an array message, which consists of the given elements, over the underlying
0
+ * @param args The message elements.
0
* @throws SystemException An error occured while writing the data to the file descriptor.
0
+ * @pre None of the message elements may contain a NUL character ('\0').
0
void write(const list<string> &args) {
0
list<string>::const_iterator it;
0
* @param ... Other elements of the message. These *must* be strings, i.e. of type char*.
0
* It is also required to terminate this list with a NULL.
0
* @throws SystemException An error occured while writing the data to the file descriptor.
0
+ * @pre None of the message elements may contain a NUL character ('\0').
0
void write(const char *name, ...) {
0
+ * Send a scalar message over the underlying file descriptor.
0
+ * @param str The scalar message's content.
0
+ * @throws SystemException An error occured while writing the data to the file descriptor.
0
void writeScalar(const string &str) {
0
writeScalar(str.c_str(), str.size());
0
+ * Send a scalar message over the underlying file descriptor.
0
+ * @param data The scalar message's content.
0
+ * @param size The number of bytes in <tt>data</tt>.
0
+ * @pre <tt>data != NULL</tt>
0
+ * @throws SystemException An error occured while writing the data to the file descriptor.
0
void writeScalar(const char *data, unsigned short size) {
Comments
No one has commented yet.