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
26 Server_IORInterceptor (Gateway::Object_Factory_ptr gateway_object_factory
);
29 * @name Methods Required by the IOR Interceptor Interface
31 * These are methods that must be implemented since they are pure
32 * virtual in the abstract base class. They are the canonical
33 * methods required for all IOR interceptors.
36 /// Return the name of this IORInterceptor.
37 virtual char * name (void);
39 /// Cleanup resources acquired by this IORInterceptor.
40 virtual void destroy (void);
42 /// Add the tagged components to the IOR.
43 virtual void establish_components (
44 PortableInterceptor::IORInfo_ptr info
);
46 virtual void components_established (
47 PortableInterceptor::IORInfo_ptr info
);
49 virtual void adapter_manager_state_changed (
51 PortableInterceptor::AdapterState state
);
53 virtual void adapter_state_changed (
54 const PortableInterceptor::ObjectReferenceTemplateSeq
& templates
,
55 PortableInterceptor::AdapterState state
);
61 ~Server_IORInterceptor (void);
65 Gateway::Object_Factory_ptr gateway_object_factory_
;
73 #endif /* SERVER_IORINTERCEPTOR_H */