Index: trunk/GnssCenter/thrift/test2/client.cpp
===================================================================
--- trunk/GnssCenter/thrift/test2/client.cpp	(revision 4950)
+++ trunk/GnssCenter/thrift/test2/client.cpp	(revision 4951)
@@ -16,7 +16,6 @@
  public:
   myService() {}
-  void answer(std::string& answ, const std::string& question) {
+  void answer(const std::string& question) {
     cout << "Server asks: " << question << endl;
-    answ = "I am well, thanks.";
   }
 
Index: trunk/GnssCenter/thrift/test2/myservice.thrift
===================================================================
--- trunk/GnssCenter/thrift/test2/myservice.thrift	(revision 4950)
+++ trunk/GnssCenter/thrift/test2/myservice.thrift	(revision 4951)
@@ -1,4 +1,4 @@
 
 service myService {
-   string answer(1:string question)
+  oneway void answer(1:string question)
 }
Index: trunk/GnssCenter/thrift/test2/server.cpp
===================================================================
--- trunk/GnssCenter/thrift/test2/server.cpp	(revision 4950)
+++ trunk/GnssCenter/thrift/test2/server.cpp	(revision 4951)
@@ -22,5 +22,5 @@
  public:
   myService() {}
-  void answer(std::string& answ, const std::string& question) {
+  void answer(const std::string& question) {
     // implemented on the client-side only
   }
@@ -91,7 +91,6 @@
     cout << "sleep ..." << endl;
     if (CONNECTION) {
-      string answ;
       cout << "CONNECTION " << endl;
-      CONNECTION->_client->answer(answ, "How are you?");
+      CONNECTION->_client->answer("How are you?");
     }
     sleep(1);
