3 #ifndef SERVER_IORINTERCEPTOR_H
4 #define SERVER_IORINTERCEPTOR_H
7 #include "tao/IORInterceptor/IORInterceptor.h"
8 #include "tao/LocalObject.h"
10 #if !defined (ACE_LACKS_PRAGMA_ONCE)
12 #endif /* ACE_LACKS_PRAGMA_ONCE */
17 #pragma warning(disable:4250)
20 class Server_IORInterceptor
21 : public virtual PortableInterceptor::IORInterceptor_3_0
,
22 public virtual ::CORBA::LocalObject
25 Server_IORInterceptor (Gateway::Object_Factory_ptr gateway_object_factory
);
28 * @name Methods Required by the IOR Interceptor Interface
30 * These are methods that must be implemented since they are pure
31 * virtual in the abstract base class. They are the canonical
32 * methods required for all IOR interceptors.
35 /// Return the name of this IORInterceptor.
36 virtual char * name ();
38 /// Cleanup resources acquired by this IORInterceptor.
39 virtual void destroy ();
41 /// Add the tagged components to the IOR.
42 virtual void establish_components (
43 PortableInterceptor::IORInfo_ptr info
);
45 virtual void components_established (
46 PortableInterceptor::IORInfo_ptr info
);
48 virtual void adapter_manager_state_changed (
50 PortableInterceptor::AdapterState state
);
52 virtual void adapter_state_changed (
53 const PortableInterceptor::ObjectReferenceTemplateSeq
& templates
,
54 PortableInterceptor::AdapterState state
);
59 ~Server_IORInterceptor ();
62 Gateway::Object_Factory_ptr gateway_object_factory_
;
69 #endif /* SERVER_IORINTERCEPTOR_H */