summaryrefslogtreecommitdiff
path: root/trunk/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/Session.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/Session.h')
-rw-r--r--trunk/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/Session.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/trunk/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/Session.h b/trunk/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/Session.h
new file mode 100644
index 00000000000..65d8f4b6507
--- /dev/null
+++ b/trunk/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/Session.h
@@ -0,0 +1,38 @@
+//
+// $Id$
+//
+
+#ifndef SESSION_H
+#define SESSION_H
+#include /**/ "ace/pre.h"
+
+#include "TestS.h"
+
+/// Implement the Test::Session interface
+class Session
+ : public virtual POA_Test::Session
+{
+public:
+ /// Constructor
+ Session (Test::Callback_ptr cb,
+ PortableServer::POA_ptr poa);
+
+ // = The skeleton methods
+ virtual void sample (Test::Timestamp the_timestamp
+ ACE_ENV_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual void shutdown (ACE_ENV_SINGLE_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual PortableServer::POA_ptr _default_POA (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+private:
+ Test::Callback_var cb_;
+
+ PortableServer::POA_var poa_;
+};
+
+#include /**/ "ace/post.h"
+#endif /* SESSION_H */