summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/chat/Server_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Simple/chat/Server_i.h')
-rw-r--r--TAO/examples/Simple/chat/Server_i.h62
1 files changed, 0 insertions, 62 deletions
diff --git a/TAO/examples/Simple/chat/Server_i.h b/TAO/examples/Simple/chat/Server_i.h
deleted file mode 100644
index 9ccaf21db34..00000000000
--- a/TAO/examples/Simple/chat/Server_i.h
+++ /dev/null
@@ -1,62 +0,0 @@
-// $Id$
-
-// ===========================================================
-//
-//
-// = LIBRARY
-// TAO/tests/Simple/chat
-//
-// = FILENAME
-// Server_i.h
-//
-// = DESCRIPTION
-// Definition of the Chat Server_i class.
-//
-// = AUTHOR
-// Pradeep Gore <pradeep@cs.wustl.edu>
-//
-// ===========================================================
-
-#if !defined (SERVER_I_H)
-#define SERVER_I_H
-
-#include "Broadcaster_i.h"
-#include "tao/TAO.h"
-
-class Server_i
-{
- // = TITLE
- // The class defines the server for the chat. It sets up the Orb manager and registers
- // the Broadcaster servant object.
-
-public:
- Server_i(char *ior_file_name);
- // Constructor
-
- ~Server_i();
- // Destructor
-
- int init (int argc,
- char *argv[],
- CORBA::Environment &env);
- // initialize the server
-
- int run (CORBA::Environment &env);
- // run the orb
-
-private:
-
- int writeIOR(const char* ior);
- // writes the server ior to a file, for the clients to pick up later.
-
- char *ior_file_name_;
- // The file name to save the ior to.
-
- TAO_ORB_Manager orb_manager_;
- // the tao orb manager object
-
- Broadcaster_i broadcaster_i_;
- // The servant object registered with the orb.
-};
-
-#endif /* SERVER_I_H */