Index: trunk/GnssCenter/thrift/test2/client.cpp
===================================================================
--- trunk/GnssCenter/thrift/test2/client.cpp	(revision 4943)
+++ trunk/GnssCenter/thrift/test2/client.cpp	(revision 4944)
@@ -13,7 +13,7 @@
 using namespace apache::thrift::transport;
 
-class myServiceHandler : virtual public myServiceIf {
+class myService : virtual public myServiceIf {
  public:
-  myServiceHandler() {}
+  myService() {}
   void answer(std::string& answ, const std::string& question) {
     cout << "Server asks: " << question << endl;
@@ -25,10 +25,10 @@
 int main(int argc, char** argv) {
   int port = 9090;
-  shared_ptr<TSocket>          socket(new TSocket("localhost", port));
-  shared_ptr<TTransport>       transport(new TBufferedTransport(socket));
-  shared_ptr<TProtocol>        protocol(new TBinaryProtocol(transport));
+  shared_ptr<TSocket>    socket(new TSocket("localhost", port));
+  shared_ptr<TTransport> transport(new TBufferedTransport(socket));
+  shared_ptr<TProtocol>  protocol(new TBinaryProtocol(transport));
 
-  shared_ptr<myServiceHandler> handler(new myServiceHandler());
-  shared_ptr<TProcessor>       processor(new myServiceProcessor(handler));
+  shared_ptr<myService>  service(new myService());
+  shared_ptr<TProcessor> processor(new myServiceProcessor(service));
 
   try {
Index: trunk/GnssCenter/thrift/test2/server.cpp
===================================================================
--- trunk/GnssCenter/thrift/test2/server.cpp	(revision 4943)
+++ trunk/GnssCenter/thrift/test2/server.cpp	(revision 4944)
@@ -16,7 +16,7 @@
 using namespace ::apache::thrift::server;
 
-class myServiceHandler : virtual public myServiceIf {
+class myService : virtual public myServiceIf {
  public:
-  myServiceHandler() {}
+  myService() {}
   void answer(std::string& answ, const std::string& question) {
     // implemented on the client-side only
@@ -27,7 +27,8 @@
  public:
   myProcessorFactory() {};
-  shared_ptr<TProcessor> getProcessor(const TConnectionInfo& info) {
-    shared_ptr<myServiceHandler> handler(new myServiceHandler());
-    shared_ptr<TProcessor>       processor(new myServiceProcessor(handler));
+  shared_ptr<TProcessor>   getProcessor(const TConnectionInfo& info) {
+    shared_ptr<myService>  service(new myService());
+    shared_ptr<TProcessor> processor(new myServiceProcessor(service));
+    cout << "connection " << endl;
     return processor;
   }
