summaryrefslogtreecommitdiff
path: root/TAO/examples/OBV/Typed_Events/Client_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/OBV/Typed_Events/Client_i.h')
-rw-r--r--TAO/examples/OBV/Typed_Events/Client_i.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/TAO/examples/OBV/Typed_Events/Client_i.h b/TAO/examples/OBV/Typed_Events/Client_i.h
new file mode 100644
index 00000000000..7dc2d3eb2e3
--- /dev/null
+++ b/TAO/examples/OBV/Typed_Events/Client_i.h
@@ -0,0 +1,58 @@
+// -*- C++ -*-
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO/examples/OBV/Typed_Events
+//
+// = FILENAME
+// Client_i.h
+//
+// = DESCRIPTION
+// This class is a template for a CORBA client.
+// run () sends some valuetypes to a server and
+// gets back a list of valuetypes.
+//
+// = AUTHOR
+//
+// Torsten Kuepper
+// based on the echo example
+// from code from Balachandran Natarajan <bala@cs.wustl.edu>
+//
+// ============================================================================
+
+#ifndef ECHO_CLIENT_I_H
+#define ECHO_CLIENT_I_H
+
+#include "../Simple_util.h"
+#include "Event_TypesC.h"
+
+CORBA::Float random_number (double min, double max);
+
+class Checkpoint_Client_i
+{
+ // = TITLE
+ // Checkpoint_Client interface subclass.
+ //
+ // = DESCRIPTION
+ // This class implements the interface between the interface
+ // objects and the client .
+public:
+ // = Initialization and termination methods.
+ Checkpoint_Client_i (void);
+ // Constructor
+
+ virtual ~Checkpoint_Client_i (void);
+ // Destructor
+
+ virtual int run (const char *,int, char** );
+ // Execute the methods
+
+private:
+ Client<Checkpoint, Checkpoint_var> checkpoint;
+ // Instantiate the checkpoint object.
+};
+
+
+#endif /* TIME_CLIENT_I_H */