Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _ORBINITINFO_PIDL_
00023 #define _ORBINITINFO_PIDL_
00024
00025 #include "tao/StringSeq.pidl"
00026 #include "tao/CodecFactory/IOP_Codec_include.pidl"
00027 #include "tao/PI_Forward.pidl"
00028 #include "tao/Policy.pidl"
00029
00030 module PortableInterceptor {
00031
00032 typeprefix PortableInterceptor "omg.org";
00033
00034 local interface ClientRequestInterceptor;
00035 local interface ServerRequestInterceptor;
00036 local interface IORInterceptor;
00037 local interface PolicyFactory;
00038
00039 local interface ORBInitInfo
00040 {
00041 typedef string ObjectId;
00042
00043 exception DuplicateName
00044 {
00045 string name;
00046 };
00047
00048 exception InvalidName {};
00049
00050 readonly attribute CORBA::StringSeq arguments;
00051 readonly attribute string orb_id;
00052 readonly attribute IOP::CodecFactory codec_factory;
00053
00054 void register_initial_reference (in ObjectId id, in Object obj)
00055 raises (InvalidName);
00056 Object resolve_initial_references (in ObjectId id)
00057 raises (InvalidName);
00058 void add_client_request_interceptor (
00059 in ClientRequestInterceptor interceptor)
00060 raises (DuplicateName);
00061 void add_server_request_interceptor (
00062 in ServerRequestInterceptor interceptor)
00063 raises (DuplicateName);
00064 void add_ior_interceptor (in IORInterceptor interceptor)
00065 raises (DuplicateName);
00066 SlotId allocate_slot_id ();
00067 void register_policy_factory (
00068 in CORBA::PolicyType type,
00069 in PolicyFactory policy_factory);
00070 };
00071
00072 local interface ORBInitInfo_3_1 : ORBInitInfo
00073 {
00074 void add_client_request_interceptor_with_policy(
00075 in ClientRequestInterceptor interceptor,
00076 in CORBA::PolicyList policies)
00077 raises (DuplicateName, CORBA::PolicyError);
00078 void add_server_request_interceptor_with_policy(
00079 in ServerRequestInterceptor interceptor,
00080 in CORBA::PolicyList policies)
00081 raises (DuplicateName, CORBA::PolicyError);
00082 void add_ior_interceptor_with_policy(
00083 in IORInterceptor interceptor,
00084 in CORBA::PolicyList policies)
00085 raises (DuplicateName, CORBA::PolicyError);
00086 };
00087
00088 };
00089
00090 #endif