From 5d2998307d73df53fe6a50595f96d53466ab9202 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Tue, 10 Nov 2020 13:02:34 +0100 Subject: Layout changes * TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h: * TAO/orbsvcs/orbsvcs/Notify/Consumer.h: * TAO/orbsvcs/performance-tests/LoadBalancing/LBPerf/RPS/ServerRequestInterceptor.h: * TAO/tests/Portable_Interceptors/Bug_3582/Client_Request_Interceptor.h: * TAO/tests/Portable_Interceptors/ForwardRequest/Client_Request_Interceptor.h: * TAO/tests/Portable_Interceptors/Redirection/Client_Request_Interceptor.h: * TAO/tests/Portable_Interceptors/Redirection/Server_Request_Interceptor.h: * TAO/tests/TransportCurrent/lib/Server_Request_Interceptor.h: --- .../CSD_Strategy/ThreadPool2/FooServantList.h | 31 ++++++++++------------ 1 file changed, 14 insertions(+), 17 deletions(-) (limited to 'TAO/examples') diff --git a/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h b/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h index 84c39803f86..efab29f4187 100644 --- a/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h +++ b/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h @@ -9,28 +9,25 @@ class FooServantList { - public: +public: + FooServantList(const ACE_TCHAR* prefix, + unsigned num_servants, + unsigned num_clients, + CORBA::ORB_ptr orb); + ~FooServantList(); - FooServantList(const ACE_TCHAR* prefix, - unsigned num_servants, - unsigned num_clients, - CORBA::ORB_ptr orb); - ~FooServantList(); + void create_and_activate(PortableServer::POA_ptr poa); - void create_and_activate(PortableServer::POA_ptr poa); + void client_done(void); - void client_done(void); +private: + PortableServer::ServantBase_var* servants_; + ACE_TString prefix_; + unsigned num_servants_; + ACE_Atomic_Op num_clients_; - private: - - PortableServer::ServantBase_var* servants_; - ACE_TString prefix_; - unsigned num_servants_; - - ACE_Atomic_Op num_clients_; - - CORBA::ORB_var orb_; + CORBA::ORB_var orb_; }; #endif -- cgit v1.2.1