// File CORBA_ORB.idl // CORBA 3.0, Chapter 4 typedef unsigned short ServiceType; typedef unsigned long ServiceOption; typedef unsigned long ServiceDetailType; const ServiceType Security = 1; struct ServiceDetail { ServiceDetailType service_detail_type; sequence service_detail; }; struct ServiceInformation { sequence service_options; sequence service_details; }; native ValueFactory; typedef string ORBid; interface ORB { // PIDL typedef string ObjectId; typedef sequence ObjectIdList; exception InvalidName {}; ORBid id(); string object_to_string ( in Object obj ); Object string_to_object ( in string str ); // Service information operations boolean get_service_information ( in ServiceType service_type, out ServiceInformation service_information ); ObjectIdList list_initial_services (); // Initial reference operation Object resolve_initial_references ( in ObjectId identifier ) raises (InvalidName); // Thread related operations boolean work_pending( ); void perform_work(); void run(); void shutdown( in boolean wait_for_completion ); void destroy(); // Policy related operations Policy create_policy( in PolicyType type, in any val ) raises (PolicyError); // Dynamic Any related operations deprecated and removed // from primary list of ORB operations // Value factory operations ValueFactory register_value_factory( in RepositoryId id, in ValueFactory _factory ); void unregister_value_factory( in RepositoryId id); ValueFactory lookup_value_factory( in RepositoryId id); void register_initial_reference( in ObjectId id, in Object obj ) raises (InvalidName); };