summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/IOR_MCast/server_i.h
diff options
context:
space:
mode:
authordoccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-05 22:07:49 +0000
committerdoccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-05 22:07:49 +0000
commit295e931e026d50a2e1c5a2954859c58a17449acf (patch)
tree5e4e65170621bd726ec31b7fd9967b933666e9b3 /TAO/orbsvcs/tests/IOR_MCast/server_i.h
parent5a9c7b9bc66d9804b614019467258cd314a28b90 (diff)
downloadATCD-295e931e026d50a2e1c5a2954859c58a17449acf.tar.gz
ChangeLogTag: Wed Sep 5 12:10:40 2001 Priyanka Gontla <gontla_p@ociweb.com>
Diffstat (limited to 'TAO/orbsvcs/tests/IOR_MCast/server_i.h')
-rw-r--r--TAO/orbsvcs/tests/IOR_MCast/server_i.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/IOR_MCast/server_i.h b/TAO/orbsvcs/tests/IOR_MCast/server_i.h
new file mode 100644
index 00000000000..0becc1f3854
--- /dev/null
+++ b/TAO/orbsvcs/tests/IOR_MCast/server_i.h
@@ -0,0 +1,56 @@
+// $Id$
+
+#if !defined (SERVER_I_H)
+#define SERVER_I_H
+
+#include "orbsvcs/orbsvcs/IOR_Multicast.h"
+
+class Server_i
+{
+ // = TITLE
+ // Server_i
+ //
+ // = DESCRIPTION
+ // Helper class for the server implementation.
+
+ public:
+ // = Constructor and destructor.
+ Server_i (void);
+ ~Server_i (void);
+
+ int init (int &argc, char **&argv, CORBA::Environment &);
+ // Initialize the server multicast.
+
+ private:
+
+ int enable_multicast (const char *ior,
+ CORBA::Environment &ACE_TRY_ENV);
+ // Sets the IOR_Multicast class to listen for multicast requests
+ // for this server.
+
+ int parse_args (int argc, char *argv[]);
+ // Parse the command line arguments.
+
+ int argc_;
+ // # of arguments on the command line.
+
+ char **argv_;
+ // arguments from command line.
+
+ CORBA::ORB_var orb_;
+ // ORB
+
+ TAO_IOR_Multicast *ior_multicast_;
+ // The ior_multicast event handler.
+
+ CORBA::String_var service_ior_;
+ // The IOR string of the service.
+
+ CORBA::String_var mcast_address_;
+ // Address of the multicast address where to listen for requests for */
+ // the server. */
+
+
+};
+
+#endif /* SERVER_I_H */