Document more classes

This commit is contained in:
Matias Fontanini
2016-06-12 20:14:40 -07:00
parent 9751acd8df
commit a055768f5a
13 changed files with 400 additions and 7 deletions

View File

@@ -81,7 +81,7 @@ class TopicConfiguration;
* Message msg = consumer.poll();
* if (msg) {
* // It's a valid message!
* if (msg.get_error() == 0) {
* if (!msg.has_error()) {
* // It's an actual message. Get the payload and print it to stdout
* cout << msg.get_payload().as_string() << endl;
* }