diff options
Diffstat (limited to 'TAO/tests/NestedUpcall/Reactor/client.h')
-rw-r--r-- | TAO/tests/NestedUpcall/Reactor/client.h | 94 |
1 files changed, 0 insertions, 94 deletions
diff --git a/TAO/tests/NestedUpcall/Reactor/client.h b/TAO/tests/NestedUpcall/Reactor/client.h deleted file mode 100644 index 706a4d9105a..00000000000 --- a/TAO/tests/NestedUpcall/Reactor/client.h +++ /dev/null @@ -1,94 +0,0 @@ -// -*- c++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/NestedUpCalls -// -// = FILENAME -// client.h -// -// = DESCRIPTION -// -// -// = AUTHORS -// Aniruddha Gokhale, Sumedh Mungee, and Sergio Flores-Gaitan -// -// ============================================================================ - -#include "ace/Get_Opt.h" -#include "tao/corba.h" -#include "reactor_i.h" -#include "ace/Auto_Ptr.h" - -class NestedUpCalls_Client -{ - // = TITLE - // Defines a class that encapsulates behaviour of the NestedUpCalls client - // example. Provides a better understanding of the logic in an - // object oriented way. - // - // = DESCRIPTION - // This class declares an interface to run the example client for - // NestedUpCalls CORBA server. All the complexity for initializing the - // server is hidden in the class. Just the run() interface is needed. -public: - // = Constructor and destructor. - NestedUpCalls_Client (void); - ~NestedUpCalls_Client (void); - - int run (void); - // Execute client example code. - - int init (int argc, char **argv); - // Initialize the client communication endpoint with server. - -private: - int init_naming_service (void); - // Function to initialize the naming service. - - int func (u_int i); - // Simple function that returns the substraction of 117 from the - // parameter. - - int read_ior (char *filename); - // Function to read the NestedUpCalls reactor ior from a file. - - int parse_args (void); - // Parses the arguments passed on the command line. - - int argc_; - // # of arguments on the command line. - - char **argv_; - // arguments from command line. - - char *nested_up_calls_reactor_key_; - // Key of reactor obj ref. - - int shutdown_; - // Flag to tell server to shutdown. - - Reactor_var reactor_; - // reactor pointer for NestedUpCalls. - - CORBA::Environment env_; - // Environment variable. - - CORBA::ORB_var orb_; - // Remember our orb. - - u_int call_count_; - // # of calls made to functions. - - FILE *nested_up_calls_reactor_ior_file_; - // File from which to obtain the IOR. - - ACE_HANDLE f_handle_; - // File handle to read the IOR. - - int use_naming_service_; - // Flag to tell client not to use Namingservice to find the NestedUpCalls - // reactor. -}; |