summaryrefslogtreecommitdiffstats
path: root/dbus/bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/bus.h')
-rw-r--r--dbus/bus.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/dbus/bus.h b/dbus/bus.h
index 4af07ce..89fba91 100644
--- a/dbus/bus.h
+++ b/dbus/bus.h
@@ -100,15 +100,11 @@ class ObjectProxy;
//
// Exporting a method:
//
-// void Echo(dbus::MethodCall* method_call,
-// dbus::ExportedObject::ResponseSender response_sender) {
+// Response* Echo(dbus::MethodCall* method_call) {
// // Do something with method_call.
// Response* response = Response::FromMethodCall(method_call);
// // Build response here.
-// // Can send an immediate response here to implement a synchronous service
-// // or store the response_sender and send a response later to implement an
-// // asynchronous service.
-// response_sender.Run(response);
+// return response;
// }
//
// void OnExported(const std::string& interface_name,