summaryrefslogtreecommitdiff
path: root/TAO/tests/Simple/chat/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Simple/chat/client.cpp')
-rw-r--r--TAO/tests/Simple/chat/client.cpp51
1 files changed, 0 insertions, 51 deletions
diff --git a/TAO/tests/Simple/chat/client.cpp b/TAO/tests/Simple/chat/client.cpp
deleted file mode 100644
index 356c65aa1ad..00000000000
--- a/TAO/tests/Simple/chat/client.cpp
+++ /dev/null
@@ -1,51 +0,0 @@
-// $Id$
-
-// ===========================================================
-//
-//
-// = LIBRARY
-// TAO/tests/Simple/chat
-//
-// = FILENAME
-// Chat.cpp
-//
-// = DESCRIPTION
-// The Chat client program entry point.
-//
-// = AUTHOR
-// Pradeep Gore <pradeep@cs.wustl.edu>
-//
-// ===========================================================
-
-#include "Chat_i.h"
-
-int
-main(int argc, char* argv[])
-{
- printf("\n============= Simple Chat ===========\n");
-
- char *nick = "chat client";
-
- if (argc >= 2)
- nick = argv[1];
- else
- printf("\n usage: Chat <nickname>\n");
-
- TAO_TRY
- {
- Chat_i chat_i ("chat.ior", nick);
-
- if (chat_i.init (argc, argv) == -1 || chat_i.run () == -1)
- {
- return -1;
- }
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("chat::main\t\n");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}