|
char * | id (void) |
| Return this ORB's ORBid. More...
|
|
CORBA::Object_ptr | string_to_object (const char *str) |
|
char * | object_to_string (CORBA::Object_ptr obj) |
|
CORBA::ValueFactory | register_value_factory (const char *repository_id, CORBA::ValueFactory factory) |
|
void | unregister_value_factory (const char *repository_id) |
|
CORBA::ValueFactory | lookup_value_factory (const char *repository_id) |
|
void | create_list (CORBA::Long count, CORBA::NVList_ptr &new_list) |
|
void | create_operation_list (CORBA::OperationDef_ptr opDef, CORBA::NVList_ptr &result) |
|
void | create_named_value (CORBA::NamedValue_ptr &nmval) |
|
void | create_exception_list (CORBA::ExceptionList_ptr &exclist) |
|
void | create_environment (CORBA::Environment_ptr &new_env) |
|
void | create_context_list (CORBA::ContextList_ptr &ctxtlist) |
|
void | get_default_context (CORBA::Context_ptr &ctx) |
|
CORBA::Boolean | get_service_information (CORBA::ServiceType service_type, CORBA::ServiceInformation_out service_information) |
|
void | send_multiple_requests_oneway (const CORBA::RequestSeq &req) |
|
void | send_multiple_requests_deferred (const CORBA::RequestSeq &req) |
|
void | get_next_response (CORBA::Request_ptr &req) |
|
CORBA::Boolean | poll_next_response (void) |
|
CORBA::TypeCode_ptr | create_struct_tc (const char *id, const char *name, const CORBA::StructMemberSeq &members) |
| The ORB TypeCode creation functions. More...
|
|
CORBA::TypeCode_ptr | create_union_tc (const char *id, const char *name, CORBA::TypeCode_ptr discriminator_type, const CORBA::UnionMemberSeq &members) |
|
CORBA::TypeCode_ptr | create_enum_tc (const char *id, const char *name, const CORBA::EnumMemberSeq &members) |
|
CORBA::TypeCode_ptr | create_alias_tc (const char *id, const char *name, CORBA::TypeCode_ptr original_type) |
|
CORBA::TypeCode_ptr | create_exception_tc (const char *id, const char *name, const CORBA::StructMemberSeq &members) |
|
CORBA::TypeCode_ptr | create_interface_tc (const char *id, const char *name) |
|
CORBA::TypeCode_ptr | create_string_tc (CORBA::ULong bound) |
|
CORBA::TypeCode_ptr | create_wstring_tc (CORBA::ULong bound) |
|
CORBA::TypeCode_ptr | create_fixed_tc (CORBA::UShort digits, CORBA::UShort scale) |
|
CORBA::TypeCode_ptr | create_sequence_tc (CORBA::ULong bound, CORBA::TypeCode_ptr element_type) |
|
CORBA::TypeCode_ptr | create_array_tc (CORBA::ULong length, CORBA::TypeCode_ptr element_type) |
|
CORBA::TypeCode_ptr | create_value_tc (const char *id, const char *name, CORBA::ValueModifier type_modifier, CORBA::TypeCode_ptr concrete_base, const CORBA::ValueMemberSeq &members) |
|
CORBA::TypeCode_ptr | create_value_box_tc (const char *id, const char *name, CORBA::TypeCode_ptr boxed_type) |
|
CORBA::TypeCode_ptr | create_native_tc (const char *id, const char *name) |
|
CORBA::TypeCode_ptr | create_recursive_tc (const char *id) |
|
CORBA::TypeCode_ptr | create_abstract_interface_tc (const char *id, const char *name) |
|
CORBA::TypeCode_ptr | create_local_interface_tc (const char *id, const char *name) |
|
CORBA::TypeCode_ptr | create_component_tc (const char *id, const char *name) |
|
CORBA::TypeCode_ptr | create_home_tc (const char *id, const char *name) |
|
CORBA::TypeCode_ptr | create_event_tc (const char *id, const char *name, CORBA::ValueModifier type_modifier, CORBA::TypeCode_ptr concrete_base, const CORBA::ValueMemberSeq &members) |
|
void | run (void) |
|
void | run (ACE_Time_Value &tv) |
|
void | run (ACE_Time_Value *tv) |
|
CORBA::Boolean | work_pending (void) |
|
CORBA::Boolean | work_pending (ACE_Time_Value &tv) |
|
void | perform_work (void) |
|
void | perform_work (ACE_Time_Value &tv) |
|
void | perform_work (ACE_Time_Value *tv) |
|
void | shutdown (CORBA::Boolean wait_for_completion=false) |
|
void | destroy (void) |
|
CORBA::Object_ptr | resolve_initial_references (const char *name, ACE_Time_Value *timeout=0) |
|
void | register_initial_reference (const char *id, CORBA::Object_ptr obj) |
| Register an object reference with the ORB. More...
|
|
CORBA::Object_ptr | unregister_initial_reference (const char *id) |
| Unregister an object reference with the ORB. More...
|
|
CORBA::ORB::ObjectIdList_ptr | list_initial_services (void) |
|
CORBA::Policy_ptr | create_policy (CORBA::PolicyType type, const CORBA::Any &val) |
|
CORBA::Policy_ptr | _create_policy (CORBA::PolicyType type) |
|
unsigned long | _incr_refcount (void) |
| Reference counting... More...
|
|
unsigned long | _decr_refcount (void) |
|
unsigned long | _refcount (void) const |
|
void | _use_omg_ior_format (CORBA::Boolean ior) |
| Set the IOR flag. More...
|
|
CORBA::Boolean | _use_omg_ior_format (void) |
| Get the IOR flag. More...
|
|
TAO_ORB_Core * | orb_core (void) const |
| Get the ORB core. More...
|
|
ACE_Time_Value * | get_timeout (void) |
| Get the Timeout value. More...
|
|
ORB pseudo-object.
The "ORB" pseudo-object is used in bootstrapping, such as to create object references from strings. This class is intended to be inherited by others, which will provide some more of the CORBA support. Implementations of this "CORBA::ORB" class must know how to create stringify/destringify their objrefs, as well as how to marshal and unmarshal them.
void CORBA::ORB::destroy |
( |
void |
| ) |
|
Explicitly destroy the ORB, releasing any resources. Note that TAO cannot implicitly release the resources even if you have destroyed all the references to a particular ORB since CORBA::ORB_init() is required to return the same pointer if called with the same ORBid, only after ORB::destroy() is called it may return a new one.
The results of multi-threaded applications, trying to destroy () the ORB in one thread and trying to service a request in another thread are not well defined. TAO does not support such cases.
This method acts as a mini-bootstrapping Naming Service, which is provided by the ORB for certain well-known object references. TAO supports the "NameService", "TradingService", "RootPOA", "ImplRepo", and "POACurrent" via this method. The timeout
value bounds the amount of time the ORB blocks waiting to resolve the service. This is most useful for bootstrapping remote services, such as the "NameService" or "TradingService", that are commonly resolved via multicast. By default, the value is 0, which means "use the @c
TAO_DEFAULT_SERVICE_RESOLUTION_TIMEOUT timeout period".
- Note
- By using a default value for the
timeout
parameter, TAO will remains compliant with the CORBA resolve_initial_references() specification.
Instructs the ORB to initialize itself and run its event loop in the current thread, not returning until the ORB has shut down or the time value specified through tv has expired. If an error occurs during initialization or at runtime, a CORBA system exception will be thrown. tv is reduced by the amount of time spent in this call.
If this function is called with a @ tv value, client threads making invocations will continue their operations. When the operation times out and returns, any invocations showing up on the server will be buffered by TCP.
Instructs the ORB to initialize itself and run its event loop in the current thread, not returning until the ORB has shut down or the time value specified through tv has expired. If an error occurs during initialization or at runtime, a CORBA system exception will be thrown. tv is reduced by the amount of time spent in this call. If tv is 0, it means that the timeout is infinite. If tv is ACE_Time_Value::zero
, it specifies to poll and does not block.
If this function is called with tv value, client threads making invocations will continue their operations. When the operation times out and returns, any invocations showing up on the server will be buffered by TCP.