diff options
Diffstat (limited to 'TAO/tests/TransportCurrent/lib/Server_ORBInitializer.h')
-rw-r--r-- | TAO/tests/TransportCurrent/lib/Server_ORBInitializer.h | 52 |
1 files changed, 52 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..6a00e61fca1 --- /dev/null +++ b/TAO/tests/TransportCurrent/lib/Server_ORBInitializer.h @@ -0,0 +1,52 @@ +// -*- 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" +#include /**/ "ace/config.h" + +#include /**/ "Current_Test_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "tao/PI/PI.h" +#include "tao/PortableInterceptorC.h" + +namespace Test +{ + + class Current_Test_Export Server_ORBInitializer : + public PortableInterceptor::ORBInitializer + { + public: + Server_ORBInitializer (PortableInterceptor::ServerRequestInterceptor_ptr interceptor); + ~Server_ORBInitializer (void); + + virtual void pre_init(PortableInterceptor::ORBInitInfo*) + throw (CORBA::SystemException); + + virtual void post_init(PortableInterceptor::ORBInitInfo*) + throw (CORBA::SystemException); + + private: + PortableInterceptor::ServerRequestInterceptor_var interceptor_; + }; + +} + +#include /**/ "ace/post.h" + +#endif /* SERVER_ORBINITIALIZER_T_H */ + |