summaryrefslogtreecommitdiff
path: root/tests/Muxed_GIOP_Versions/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Muxed_GIOP_Versions/server.cpp')
-rw-r--r--tests/Muxed_GIOP_Versions/server.cpp27
1 files changed, 11 insertions, 16 deletions
diff --git a/tests/Muxed_GIOP_Versions/server.cpp b/tests/Muxed_GIOP_Versions/server.cpp
index 2ed67f53282..9573acfcedc 100644
--- a/tests/Muxed_GIOP_Versions/server.cpp
+++ b/tests/Muxed_GIOP_Versions/server.cpp
@@ -3,9 +3,6 @@
#include "test_i.h"
#include "ace/Get_Opt.h"
#include "ace/Task.h"
-#include "ace/Synch_T.h"
-
-ACE_RCSID(MT_Server, server, "server.cpp,v 1.7 2002/01/29 20:21:08 okellogg Exp")
const ACE_TCHAR *ior_output_file = 0;
const ACE_TCHAR *corbaloc_arg = ACE_TEXT("corbaloc:iiop:1.0@localhost:12000/ObjectName");
@@ -56,20 +53,19 @@ parse_args (int argc, ACE_TCHAR *argv[])
argv [0]),
-1);
}
- // Indicates sucessful parsing of the command line
+ // Indicates successful parsing of the command line
return 0;
}
/*****************************************************/
+/**
+ * Run a server thread
+ *
+ * Use the ACE_Task_Base class to run server threads
+ */
class Worker : public ACE_Task_Base
{
- // = TITLE
- // Run a server thread
- //
- // = DESCRIPTION
- // Use the ACE_Task_Base class to run server threads
- //
public:
/// ctor
Worker (CORBA::ORB_ptr orb);
@@ -85,14 +81,13 @@ private:
/*****************************************************/
+/**
+ * Run a client thread
+ *
+ * Use the ACE_Task_Base class to run client threads
+ */
class SelfClient : public ACE_Task_Base
{
- // = TITLE
- // Run the client thread
- //
- // = DESCRIPTION
- // Use the ACE_Task_Base class to run the client threads.
- //
public:
SelfClient (CORBA::ORB_ptr orb, Simple_Server_ptr server, int niterations);
// ctor