summaryrefslogtreecommitdiff
path: root/ACE/TAO/orbsvcs/tests/Time/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/orbsvcs/tests/Time/client.cpp')
-rw-r--r--ACE/TAO/orbsvcs/tests/Time/client.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/tests/Time/client.cpp b/ACE/TAO/orbsvcs/tests/Time/client.cpp
new file mode 100644
index 00000000000..855b3ef59e4
--- /dev/null
+++ b/ACE/TAO/orbsvcs/tests/Time/client.cpp
@@ -0,0 +1,22 @@
+// $Id$
+
+#include "Client_i.h"
+#include "ace/Log_Msg.h"
+
+ACE_RCSID(Time, client, "$Id$")
+
+// This function runs the Time Service client test.
+
+int
+ACE_TMAIN(int argc, ACE_TCHAR *argv[])
+{
+ Client_i client;
+
+ ACE_DEBUG ((LM_DEBUG,
+ "[CLIENT] Process/Thread Id : (%P/%t) Time Service Client\n"));
+
+ if (client.init (argc, argv) == -1)
+ return -1;
+ else
+ return client.run ();
+}