summaryrefslogtreecommitdiff
path: root/ACE/TAO/examples/ior_corbaloc/ior_corbaloc_client_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/examples/ior_corbaloc/ior_corbaloc_client_i.h')
-rw-r--r--ACE/TAO/examples/ior_corbaloc/ior_corbaloc_client_i.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/ACE/TAO/examples/ior_corbaloc/ior_corbaloc_client_i.h b/ACE/TAO/examples/ior_corbaloc/ior_corbaloc_client_i.h
new file mode 100644
index 00000000000..a4488b08a31
--- /dev/null
+++ b/ACE/TAO/examples/ior_corbaloc/ior_corbaloc_client_i.h
@@ -0,0 +1,57 @@
+// -*- C++ -*-
+// $Id$
+
+// ===========================================================
+//
+// = LIBRARY
+// TAO/tests/ior_corbaloc/
+//
+// = FILENAME
+// ior_corbaloc_client_i.h
+//
+// = DESCRIPTION
+// This class implements a simple client which sends a corbaloc:
+// style url to the server and gets a response from the
+// server to indicate that the server has received the request.
+//
+// = AUTHORS
+// Priyanka Gontla <pgontla@ece.uci.edu>
+//
+//============================================================
+
+#if !defined (IOR_CORBALOC_CLIENT_I_H)
+#define IOR_CORBALOC_CLIENT_I_H
+
+#include "corbalocC.h"
+#include "orbsvcs/CosNamingC.h"
+
+#include "ace/SString.h"
+
+class IOR_corbaloc_Client_i
+{
+ // = TITLE
+ // NContextExt Client Implementation
+ //
+ // = DESCRIPTION
+ //
+
+ public:
+ // = Constructor and destructor.
+ IOR_corbaloc_Client_i (void);
+ ~IOR_corbaloc_Client_i (void);
+
+ int run (void);
+ // Execute the client example code.
+
+ int init (int& argc, ACE_TCHAR *argv[]);
+ // Initialize the client communication endpoint with the server.
+
+ private:
+ /// corbaloc url to test
+ ACE_TString corbaloc_url_;
+
+ /// Naming context
+ CosNaming::NamingContextExt_var naming_context_;
+};
+
+#endif /* IOR_CORBALOC_CLIENT_I_H */