#include <IORB.h>
Public Member Functions | |
virtual ReturnCode_t | activateObject (ImplBase *impl)=0 throw () |
Activate object. | |
virtual ReturnCode_t | activateObject (ImplBase *impl, ServantBase *servant)=0 throw () |
Activate object. | |
virtual ReturnCode_t | deactivateObject (ImplBase *impl)=0 throw () |
Deactivate object. | |
virtual ReturnCode_t | deactivateObject (const char *name)=0 throw () |
Deactivate object. | |
virtual doil::ImplBase * | getImpl (const char *name)=0 throw () |
Getting object by name. | |
virtual doil::ServantBase * | getServant (const char *name)=0 throw () |
Getting servant object by name. | |
virtual const char * | name ()=0 throw () |
Getting ORB's name. | |
virtual ReturnCode_t | registerFactory (const char *id, ServantNewFunc new_func, ServantDeleteFunc delete_func)=0 throw () |
Register servant's factory. | |
virtual void | shutdown ()=0 throw () |
Shutdown ORB. | |
virtual doil::ImplBase * | toImpl (doil::ServantBase *servant)=0 throw () |
Getting impl object by servant. | |
virtual doil::ServantBase * | toServant (doil::ImplBase *impl)=0 throw () |
Getting servant object by impl object. | |
virtual | ~IORB () throw () |
Register an ORB to the ORBManager. |
virtual doil::IORB::~IORB | ( | ) | throw () [inline, virtual] |
Register an ORB to the ORBManager.
This operation will register an ORB that inherits IORB interface to the ORBManager.
virtual ReturnCode_t doil::IORB::activateObject | ( | ImplBase * | impl | ) | throw () [pure virtual] |
Activate object.
This operation will activate given object The servant that has same ID with the given object's ID should exist in this ORB servant's map. INVALID_ARGS error code will return if the factory does not exist.
Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.
virtual ReturnCode_t doil::IORB::activateObject | ( | ImplBase * | impl, |
ServantBase * | servant | ||
) | throw () [pure virtual] |
Activate object.
This operation will activate given object The servant's factory that activate the given object does not need to exists in this ORB manager. However, the given servant's ID and the given object's ID have to be same. INVALID_ARGS error will be returned if these IDs are not same.
Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.
virtual ReturnCode_t doil::IORB::deactivateObject | ( | ImplBase * | impl | ) | throw () [pure virtual] |
Deactivate object.
This operation will deactivate the given object. NOT_FOUND error will be returned if the given object does not exist in the ative object map.
Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.
virtual ReturnCode_t doil::IORB::deactivateObject | ( | const char * | name | ) | throw () [pure virtual] |
Deactivate object.
This operation will deactivate the given name's object. NOT_FOUND error will be returned if the given object does not exist in the ative object map.
Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.
virtual doil::ImplBase* doil::IORB::getImpl | ( | const char * | name | ) | throw () [pure virtual] |
Getting object by name.
This operation will return a object by given name. NOT_FOUND error will be returned if the given name's object does not exist in the ative object map.
Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.
virtual doil::ServantBase* doil::IORB::getServant | ( | const char * | name | ) | throw () [pure virtual] |
Getting servant object by name.
This operation will return an servant object by given name. NOT_FOUND error will be returned if the given name's servant object does not exist in the ative object map.
Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.
virtual const char* doil::IORB::name | ( | ) | throw () [pure virtual] |
Getting ORB's name.
This operation will return ORB's name.
Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.
virtual ReturnCode_t doil::IORB::registerFactory | ( | const char * | id, |
ServantNewFunc | new_func, | ||
ServantDeleteFunc | delete_func | ||
) | throw () [pure virtual] |
Register servant's factory.
This operation will register servant's factory.
Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.
virtual void doil::IORB::shutdown | ( | ) | throw () [pure virtual] |
Shutdown ORB.
This operation will shutdown ORB
Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.
virtual doil::ImplBase* doil::IORB::toImpl | ( | doil::ServantBase * | servant | ) | throw () [pure virtual] |
Getting impl object by servant.
This operation will return an impl object by given servant. NOT_FOUND error will be returned if the given servant's impl object does not exist in the ative object map.
Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.
virtual doil::ServantBase* doil::IORB::toServant | ( | doil::ImplBase * | impl | ) | throw () [pure virtual] |
Getting servant object by impl object.
This operation will return an servant object by given impl object. NOT_FOUND error will be returned if the given name's servant object does not exist in the ative object map.
Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.