NamingServer management class for CORBA. More...
#include <NamingManager.h>
Public Member Functions | |
NamingOnCorba (CORBA::ORB_ptr orb, const char *names) | |
Constructor. | |
virtual | ~NamingOnCorba (void) |
Destructor. | |
virtual void | bindObject (const char *name, const RTObject_impl *rtobj) |
Bind the specified CORBA objects to NamingService. | |
virtual void | bindObject (const char *name, const RTM::ManagerServant *mgr) |
Bind the specified ManagerServants to NamingService. | |
virtual void | unbindObject (const char *name) |
Unbind the specified CORBA objects from NamingService. | |
virtual bool | isAlive () |
Check if the name service is alive. |
NamingServer management class for CORBA.
NamingServer management class for CORBA. Manage to register and unregister CORBA components to NamingService.
RTC::NamingOnCorba::NamingOnCorba | ( | CORBA::ORB_ptr | orb, | |
const char * | names | |||
) |
Constructor.
Constructor. Naming service name that is given at the second argument is host name and port number hoined with ":". If the port number is abbreviated, the default port number 2809 is used.
orb | ORB | |
names | Name of NamingServer |
virtual RTC::NamingOnCorba::~NamingOnCorba | ( | void | ) | [inline, virtual] |
Destructor.
virtual void RTC::NamingOnCorba::bindObject | ( | const char * | name, | |
const RTM::ManagerServant * | mgr | |||
) | [virtual] |
Bind the specified ManagerServants to NamingService.
name | Names at the binding | |
mgr | The target ManagerServants for the binding |
Implements RTC::NamingBase.
virtual void RTC::NamingOnCorba::bindObject | ( | const char * | name, | |
const RTObject_impl * | rtobj | |||
) | [virtual] |
Bind the specified CORBA objects to NamingService.
Bind the specified CORBA objects to CORBA NamingService by specified names.
name | Names at the binding | |
rtobj | The target objects for the binding |
Implements RTC::NamingBase.
virtual bool RTC::NamingOnCorba::isAlive | ( | ) | [virtual] |
Check if the name service is alive.
Implements RTC::NamingBase.
virtual void RTC::NamingOnCorba::unbindObject | ( | const char * | name | ) | [virtual] |
Unbind the specified CORBA objects from NamingService.
Unbind the specified CORBA objects from CORBA NamingService.
name | The target objects for the unbinding |
Implements RTC::NamingBase.