summaryrefslogtreecommitdiff
path: root/TAO/tests/TransportCurrent/lib/Server_ORBInitializer.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/TransportCurrent/lib/Server_ORBInitializer.h')
-rw-r--r--TAO/tests/TransportCurrent/lib/Server_ORBInitializer.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/TAO/tests/TransportCurrent/lib/Server_ORBInitializer.h b/TAO/tests/TransportCurrent/lib/Server_ORBInitializer.h
new file mode 100644
index 00000000000..e9d517c30bd
--- /dev/null
+++ b/TAO/tests/TransportCurrent/lib/Server_ORBInitializer.h
@@ -0,0 +1,51 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file Server_ORBInitializer.h
+ *
+ * $Id$
+ *
+ * @author Iliyan jeliazkov <iliyan@ociweb.com>
+ */
+//=============================================================================
+
+#ifndef SERVER_ORBINITIALIZER_T_H
+#define SERVER_ORBINITIALIZER_T_H
+#include /**/ "ace/pre.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/PI/PI.h"
+#include "tao/LocalObject.h"
+#include "tao/PortableInterceptorC.h"
+
+#include "Current_Test_Export.h"
+
+namespace Test
+{
+
+ class Current_Test_Export Server_ORBInitializer :
+ public virtual PortableInterceptor::ORBInitializer,
+ public virtual TAO_Local_RefCounted_Object
+ {
+ public:
+ Server_ORBInitializer (PortableInterceptor::ServerRequestInterceptor_ptr interceptor);
+ virtual ~Server_ORBInitializer (void);
+
+ virtual void pre_init(PortableInterceptor::ORBInitInfo*);
+
+ virtual void post_init(PortableInterceptor::ORBInitInfo*);
+
+ private:
+ PortableInterceptor::ServerRequestInterceptor_var interceptor_;
+ };
+
+}
+
+#include /**/ "ace/post.h"
+
+#endif /* SERVER_ORBINITIALIZER_T_H */
+