struct ImplementationStatusImplementationStatus is used to track the activation state for a server that is registered with the OAD.Include the oad_c.hh file when you use this class.CreationImplDef impl;ObjectStatusList status;Represents a list of status information for each object offered by the server. See “ObjectStatusList” for information on the ObjectStatusList class.For a complete description of the IDL source codes, refer to the oad.idl file located in the VisiBroker installation in the following directory:Include the oad_c.hh file when you use this class.void change_implementation(const extension::CreationImplDef&_old_info,
const extension::CreationImplDef& _new_info);
extension::CreationImplDef_ptr create_CreationImplDef();Returns an instance of an extension::CreationImplDef_ptr object. You can then set its attributes as explained in “CreationImplDef impl;”.Sets the destroy_on_unregister attribute for the OAD.
val If set to TRUE, any active implementations are shut down when they are unregistered. Otherwise, they will not be shut down when unregistered.CORBA::Boolean destroy_on_unregister();Returns the setting for the destroy_on_unregister attribute for an implementation. If the attribute is set to TRUE, any active implementations are shut down when unregistered.This method retrieves information about implementations registered for the specified repository identifier and object name. It returns a extension::CreationImplDef_ptr object.
ImplStatusList *get_status_all();Returns an ImplStatusList containing the status information for all implementations.
This method unregisters implementations by repository identifier and object name. If the destroy_on_unregister attribute is set to true, this method terminates all processes currently implementing the repository identifier and object name that is specified.
This method unregisters all implementations for a repository identifier. If the destroy_on_unregister attribute is set to true, this method terminates all processes currently implementing the repository identifier specified.
void unregister_all();This method unregisters all implementations. Unless the attribute destroy_on_unregister is set to true, all active implementations continue to execute.struct ObjectStatusThis structure is used to store information about a particular object offered by an object implementation that is registered with the OAD. This structure is returned by the ObjectStatusList class, described in “ObjectStatusList”.Include the oad_c.hh file when you use this class.CORBA::Long unique_id;State activation_state;
•
• CORBA::Object objRef;class ObjectStatusListThis class implements a list of ObjectStatus structures and is used to represent information about the objects offered by a server.Include the oad_c.hh file when you use this class.
CORBA::ULong length() const;CORBA::ULong maximum() const;Returns the ObjectStatus structure with the specified index in the list.