diff options
Diffstat (limited to 'TAO/examples/PluggableUDP')
10 files changed, 12 insertions, 19 deletions
diff --git a/TAO/examples/PluggableUDP/tests/Performance/UDP_PerformanceClient.cpp b/TAO/examples/PluggableUDP/tests/Performance/UDP_PerformanceClient.cpp index b0f4c261305..ce2b60542e8 100644 --- a/TAO/examples/PluggableUDP/tests/Performance/UDP_PerformanceClient.cpp +++ b/TAO/examples/PluggableUDP/tests/Performance/UDP_PerformanceClient.cpp @@ -20,7 +20,7 @@ UDP_PerformanceClient::UDP_PerformanceClient (CORBA::ORB_ptr orb, } //Destructor. -UDP_PerformanceClient::~UDP_PerformanceClient (void) +UDP_PerformanceClient::~UDP_PerformanceClient () { //no-op } diff --git a/TAO/examples/PluggableUDP/tests/Performance/UDP_PerformanceClient.h b/TAO/examples/PluggableUDP/tests/Performance/UDP_PerformanceClient.h index 5a13402ce67..ea87bd4f6d0 100644 --- a/TAO/examples/PluggableUDP/tests/Performance/UDP_PerformanceClient.h +++ b/TAO/examples/PluggableUDP/tests/Performance/UDP_PerformanceClient.h @@ -37,7 +37,7 @@ public: ACE_UINT32 burst_messages); /// Destructor - virtual ~UDP_PerformanceClient (void); + virtual ~UDP_PerformanceClient (); private: // Runs in a separate thread. diff --git a/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp b/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp index 18a7e506b5d..5f932e4d5e9 100644 --- a/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp +++ b/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp @@ -1,16 +1,15 @@ #include "UDP_i.h" - // Constructor -UDP_i::UDP_i (void) +UDP_i::UDP_i () : messages_count_ (0) , wrong_messages_count_ (0) { } // Destructor -UDP_i::~UDP_i (void) +UDP_i::~UDP_i () { } @@ -105,7 +104,7 @@ UDP_i::reset (const char * client_name) // Shutdown. void -UDP_i::shutdown (void) +UDP_i::shutdown () { ACE_DEBUG ((LM_DEBUG, "%s\n", diff --git a/TAO/examples/PluggableUDP/tests/Performance/UDP_i.h b/TAO/examples/PluggableUDP/tests/Performance/UDP_i.h index cfb27be63d7..12eab1d599d 100644 --- a/TAO/examples/PluggableUDP/tests/Performance/UDP_i.h +++ b/TAO/examples/PluggableUDP/tests/Performance/UDP_i.h @@ -27,10 +27,10 @@ class UDP_i: public POA_UDP { public: /// Constructor - UDP_i (void); + UDP_i (); /// Destructor - ~UDP_i (void); + ~UDP_i (); virtual void setResponseHandler (UDP_ptr udpHandler); @@ -40,7 +40,7 @@ public: virtual void reset (const char * client_name); /// Shutdown the server. - virtual void shutdown (void); + virtual void shutdown (); /// Set the ORB pointer. void orb (CORBA::ORB_ptr o); diff --git a/TAO/examples/PluggableUDP/tests/Performance/client.cpp b/TAO/examples/PluggableUDP/tests/Performance/client.cpp index b16acb89b2d..6bd848410e2 100644 --- a/TAO/examples/PluggableUDP/tests/Performance/client.cpp +++ b/TAO/examples/PluggableUDP/tests/Performance/client.cpp @@ -10,7 +10,6 @@ //============================================================================= - #include "ace/Get_Opt.h" #include "ace/Task.h" @@ -24,7 +23,6 @@ #include "tao/Strategies/advanced_resource.h" - const ACE_TCHAR *ior = ACE_TEXT("file://test.ior"); ACE_UINT32 burst_messages = 1000; @@ -135,7 +133,6 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) // the one calling orb->shutdown () triggering the end of the ORB // event loop. delete client; - } catch (const CORBA::Exception& ex) { diff --git a/TAO/examples/PluggableUDP/tests/Performance/server.cpp b/TAO/examples/PluggableUDP/tests/Performance/server.cpp index 379e624c0af..d0c1655024a 100644 --- a/TAO/examples/PluggableUDP/tests/Performance/server.cpp +++ b/TAO/examples/PluggableUDP/tests/Performance/server.cpp @@ -21,7 +21,6 @@ - const ACE_TCHAR *ior_output_file = ACE_TEXT("test.ior"); int orb_threads = 1; // Number of threads running inside the ORB. diff --git a/TAO/examples/PluggableUDP/tests/SimplePerformance/client.cpp b/TAO/examples/PluggableUDP/tests/SimplePerformance/client.cpp index d4caa0614df..ba15981cc5b 100644 --- a/TAO/examples/PluggableUDP/tests/SimplePerformance/client.cpp +++ b/TAO/examples/PluggableUDP/tests/SimplePerformance/client.cpp @@ -68,7 +68,7 @@ public: /// ctor Client (Simple_Server_ptr server, ACE_UINT32 niterations); - virtual ~Client (void) {}; + virtual ~Client () {}; /// The thread entry point. virtual int svc (); @@ -145,7 +145,7 @@ Client::Client (Simple_Server_ptr server, int -Client::svc (void) +Client::svc () { try { @@ -198,7 +198,6 @@ Client::svc (void) for (int c = 0; c < 10; ++c) server_->shutdown (); - } catch (const CORBA::Exception& ex) { diff --git a/TAO/examples/PluggableUDP/tests/SimplePerformance/server.cpp b/TAO/examples/PluggableUDP/tests/SimplePerformance/server.cpp index 06757f4f51a..3ce36a8aaba 100644 --- a/TAO/examples/PluggableUDP/tests/SimplePerformance/server.cpp +++ b/TAO/examples/PluggableUDP/tests/SimplePerformance/server.cpp @@ -10,7 +10,6 @@ //============================================================================= - #include "ace/Get_Opt.h" #include "test_i.h" diff --git a/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.cpp b/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.cpp index a9c9d47744e..3bea2eb8282 100644 --- a/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.cpp +++ b/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.cpp @@ -30,7 +30,7 @@ Simple_Server_i::get_number (CORBA::Long) } void -Simple_Server_i::shutdown (void) +Simple_Server_i::shutdown () { ACE_DEBUG ((LM_DEBUG, "Simple_Server_i::shutdown\n")); diff --git a/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.h b/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.h index 37796d06ecc..ea18f61e54f 100644 --- a/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.h +++ b/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.h @@ -33,7 +33,7 @@ public: CORBA::Long get_number (CORBA::Long num); - void shutdown (void); + void shutdown (); private: CORBA::ORB_var orb_; |