|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.PortableServer.Servant
RTM.ManagerPOA
jp.go.aist.rtm.RTC.ManagerServant
public class ManagerServant
Manager CORBA class
This class changes Manager to CORBA Servant. Generation/deletion of the component, to get the state of the system, etc. can be done from the outside.
Field Summary | |
---|---|
protected Logbuf |
rtcout
Logger stream |
Constructor Summary | |
---|---|
ManagerServant()
Constructor |
Method Summary | |
---|---|
Manager |
_this()
Gets CORBA object. |
ReturnCode_t |
add_master_manager(Manager mgr)
Getting a master manager |
ReturnCode_t |
add_slave_manager(Manager mgr)
Getting a slave manager |
RTObject |
create_component(java.lang.String module_name)
Creating an RT-Component |
boolean |
createINSManager()
{@.en Generate INSManager. |
ReturnCode_t |
delete_component(java.lang.String instance_name)
Deleting an RT-Component |
Manager |
findManager(java.lang.String host_port)
Find the reference of Manager. return Manager reference |
ReturnCode_t |
fork()
The copy of the process is generated. |
ComponentProfile[] |
get_component_profiles()
Getting RT-Component's profile list running on this manager |
RTObject[] |
get_components()
Getting RT-Component list running on this manager |
NameValue[] |
get_configuration()
Getting this manager's configuration. |
ModuleProfile[] |
get_factory_profiles()
Getting component factory profiles |
ModuleProfile[] |
get_loadable_modules()
Getting loadable module profiles |
ModuleProfile[] |
get_loaded_modules()
Getting loaded module profiles |
Manager[] |
get_master_managers()
Getting master managers |
ManagerProfile |
get_profile()
Getting this manager's profile. |
org.omg.CORBA.Object |
get_service(java.lang.String name)
Get the reference of RTC. |
Manager[] |
get_slave_managers()
Getting slave managers |
Manager |
getObjRef()
Get the reference of Manager. |
boolean |
is_master()
Whether this manager is master or not |
ReturnCode_t |
load_module(java.lang.String pathname,
java.lang.String initfunc)
Loading a module |
ReturnCode_t |
remove_master_manager(Manager mgr)
Removing a master manager |
ReturnCode_t |
remove_slave_manager(Manager mgr)
Removing a slave manager |
ReturnCode_t |
restart()
This method restarts RTC. |
ReturnCode_t |
set_configuration(java.lang.String name,
java.lang.String value)
Setting manager's configuration |
ReturnCode_t |
shutdown()
This method shutdowns RTC. |
ReturnCode_t |
unload_module(java.lang.String pathname)
Unloading a module |
Methods inherited from class RTM.ManagerPOA |
---|
_all_interfaces, _invoke, _this |
Methods inherited from class org.omg.PortableServer.Servant |
---|
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Logbuf rtcout
Constructor Detail |
---|
public ManagerServant()
Method Detail |
---|
public Manager _this()
Gets RTM.Manager object.
_this
in class ManagerPOA
public boolean createINSManager()
public Manager findManager(java.lang.String host_port)
public ReturnCode_t load_module(java.lang.String pathname, java.lang.String initfunc)
This operation loads a specified loadable module and perform initialization with the specified function.
pathname
-
A path to a loading module.initfunc
-
Module initialization function.
public ReturnCode_t unload_module(java.lang.String pathname)
This operation unloads a specified loadable module.
pathname
-
A path to a loading module.
public ModuleProfile[] get_loadable_modules()
This operation returns loadable module profiles.
public ModuleProfile[] get_loaded_modules()
This operation returns loaded module profiles.
public ModuleProfile[] get_factory_profiles()
This operation returns component factory profiles from loaded RT-Component module factory profiles.
public RTObject create_component(java.lang.String module_name)
This operation creates RT-Component according to the string argument.
public ReturnCode_t delete_component(java.lang.String instance_name)
This operation delete an RT-Component according to the string argument.
instance_name
-
Instance name
public RTObject[] get_components()
This operation returns RT-Component list running on this manager.
public ComponentProfile[] get_component_profiles()
This operation returns RT-Component's profile list running on this manager.
public ManagerProfile get_profile()
This operation returns this manager's profile.
public NameValue[] get_configuration()
This operation returns this manager's configuration.
public ReturnCode_t set_configuration(java.lang.String name, java.lang.String value)
This operation sets managers configuration.
name
-
A configuration key name to be setvalue
-
A configuration value to be set
public boolean is_master()
It returns "True" if this manager is a master, and it returns "False" in other cases.
public Manager[] get_master_managers()
This operation returns master manager list if this manager is slave. If this manager is master, an empty sequence would be returned.
public ReturnCode_t add_master_manager(Manager mgr)
This operation returns a master manager with specified id. If the manager with the specified id does not exist, nil object reference would be returned.
public ReturnCode_t remove_master_manager(Manager mgr)
This operation removes a master manager from this manager.
mgr
-
A master manager
public Manager[] get_slave_managers()
This operation returns slave manager list if this manager is slave. If this manager is slave, an empty sequence would be returned.
public ReturnCode_t add_slave_manager(Manager mgr)
This operation add a slave manager to this manager.
mgr
-
A slave manager
public ReturnCode_t remove_slave_manager(Manager mgr)
This operation removes a slave manager from this manager.
mgr
-
A slave manager
public ReturnCode_t fork()
public ReturnCode_t shutdown()
public ReturnCode_t restart()
public org.omg.CORBA.Object get_service(java.lang.String name)
public Manager getObjRef()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |