summaryrefslogtreecommitdiff
path: root/ACE/TAO/DevGuideExamples/PortableInterceptors/PICurrent/ServerInitializer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/DevGuideExamples/PortableInterceptors/PICurrent/ServerInitializer.h')
-rw-r--r--ACE/TAO/DevGuideExamples/PortableInterceptors/PICurrent/ServerInitializer.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/ACE/TAO/DevGuideExamples/PortableInterceptors/PICurrent/ServerInitializer.h b/ACE/TAO/DevGuideExamples/PortableInterceptors/PICurrent/ServerInitializer.h
new file mode 100644
index 00000000000..bb8a55b1b8a
--- /dev/null
+++ b/ACE/TAO/DevGuideExamples/PortableInterceptors/PICurrent/ServerInitializer.h
@@ -0,0 +1,23 @@
+// $Id$
+
+#ifndef SERVERINITIALIZER_H
+#define SERVERINITIALIZER_H
+
+#include "tao/PortableInterceptorC.h"
+#include "tao/PI/PI.h"
+
+class ServerInitializer :
+public virtual PortableInterceptor::ORBInitializer
+{
+ public:
+ ServerInitializer ();
+
+ virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
+
+ virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
+
+ private:
+ int interceptor_type_;
+};
+
+#endif