diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
commit | 3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (patch) | |
tree | 197c810e5f5bce17b1233a7cb8d7b50c0bcd25e2 /TAO/orbsvcs/tests/IOR_MCast/server_i.h | |
parent | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (diff) | |
download | ATCD-3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/orbsvcs/tests/IOR_MCast/server_i.h')
-rw-r--r-- | TAO/orbsvcs/tests/IOR_MCast/server_i.h | 59 |
1 files changed, 59 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..35844172cac --- /dev/null +++ b/TAO/orbsvcs/tests/IOR_MCast/server_i.h @@ -0,0 +1,59 @@ +// -*- C++ -*- +// +// $Id$ + +#ifndef SERVER_I_H +#define SERVER_I_H + +#include "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 ACE_ENV_ARG_DECL); + // Initialize the server multicast. + +private: + + /// Sets the IOR_Multicast class to listen for multicast requests + // for this server. + int enable_multicast (const char *ior); + + /// Parse the command line arguments. + int parse_args (int argc, char *argv[]); + +private: + + 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 */ |