Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / tests / IOR_MCast / server_i.h
blob09f58c7b7213d827947917b7b957a19cff4acfec
1 // -*- C++ -*-
2 #ifndef SERVER_I_H
3 #define SERVER_I_H
5 #include "orbsvcs/IOR_Multicast.h"
7 class Server_i
9 // = TITLE
10 // Server_i
12 // = DESCRIPTION
13 // Helper class for the server implementation.
15 public:
16 // = Constructor and destructor.
17 Server_i ();
18 ~Server_i ();
20 int init (int &argc, ACE_TCHAR **argv);
21 // Initialize the server multicast.
23 private:
24 /// Sets the IOR_Multicast class to listen for multicast requests
25 // for this server.
26 int enable_multicast (const char *ior);
28 /// Parse the command line arguments.
29 int parse_args (int argc, ACE_TCHAR *argv[]);
31 private:
32 int argc_;
33 // # of arguments on the command line.
35 ACE_TCHAR **argv_;
36 // arguments from command line.
38 CORBA::ORB_var orb_;
39 // ORB
41 TAO_IOR_Multicast *ior_multicast_;
42 // The ior_multicast event handler.
44 CORBA::String_var service_ior_;
45 // The IOR string of the service.
47 CORBA::String_var mcast_address_;
48 // Address of the multicast address where to listen for requests for */
49 // the server. */
53 #endif /* SERVER_I_H */