|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.omg.PortableServer.Servant _SDOPackage.ConfigurationPOA jp.go.aist.rtm.RTC.SDOPackage.Configuration_impl
public class Configuration_impl
Field Summary | |
---|---|
protected java.util.Map<java.lang.String,Properties> |
m_configsetopts
|
protected ConfigAdmin |
m_configsets
Information of configuration set |
protected DeviceProfile |
m_deviceProfile
DeviceProfile |
protected Configuration |
m_objref
Object reference |
protected OrganizationListHolder |
m_organizations
List of Organization |
protected ParameterListHolder |
m_parameters
List of Parameter |
protected ServiceProfileListHolder |
m_serviceProfiles
List of ServiceProfile |
protected Logbuf |
rtcout
Ojbect format for Logging |
Constructor Summary | |
---|---|
Configuration_impl(ConfigAdmin configsets)
Constructor |
Method Summary | |
---|---|
Configuration |
_this()
Gets the object reference. |
boolean |
activate_configuration_set(java.lang.String config_id)
[CORBA interface] Activate ConfigurationSet |
boolean |
add_configuration_set(ConfigurationSet configuration_set)
[CORBA interface] Adds ConfigurationSet. |
boolean |
add_organization(Organization org)
[CORBA interface] Adds Organization object. |
boolean |
add_service_profile(ServiceProfile sProfile)
[CORBA interface] Sets ServiceProfile of SDO. |
ConfigurationSet |
get_active_configuration_set()
[CROBA ingerface] Gets active ConfigurationSet. |
org.omg.CORBA.Any |
get_configuration_parameter_value(java.lang.String name)
[CORBA interface] Gets the value of Configuration parameter |
NameValue[] |
get_configuration_parameter_values()
[CORBA itnerface] Gets the list of Configuration paramter value |
Parameter[] |
get_configuration_parameters()
[CORBA interface] Gets the list of configuration parameter |
ConfigurationSet |
get_configuration_set(java.lang.String config_id)
[CORBA interface] ConfigurationSet を取得します。 このオペレーションは引数で指定された ConfigurationSet の ID に関連 付けられた ConfigurationSet を返します。 |
ConfigurationSet[] |
get_configuration_sets()
[CORBA interface] Gets the list of ConfigurationSet |
DeviceProfile |
getDeviceProfile()
[CORBA interface] Gets DeviceProfie of SDO |
Configuration |
getObjRef()
Gets the object reference |
OrganizationListHolder |
getOrganizations()
[CORBA interface] Gets all Organization set |
ServiceProfile |
getServiceProfile(java.lang.String id)
[CORBA itnerface] Gets SeviceProfile of SDO |
ServiceProfileListHolder |
getServiceProfiles()
[CORBA interface] Gets all DeviceProfiles of SDO |
boolean |
remove_configuration_set(java.lang.String config_id)
[CROBA interface] Deletes ConfigurationSet |
boolean |
remove_organization(java.lang.String organization_id)
[CORBA interface] Deletes Organization object reference |
boolean |
remove_service_profile(java.lang.String id)
[CORBA interface] Deletes ServiceProfile |
boolean |
set_configuration_parameter(java.lang.String name,
org.omg.CORBA.Any value)
[CORBA interface] Changes the Configuration parameter. |
boolean |
set_configuration_set_values(ConfigurationSet configuration_set)
[CORBA interface] Set ConfigurationSet |
boolean |
set_device_profile(DeviceProfile dProfile)
[CORBA interface] Sets DeviceProfile of SDO. |
Methods inherited from class _SDOPackage.ConfigurationPOA |
---|
_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 Configuration m_objref
protected DeviceProfile m_deviceProfile
protected ServiceProfileListHolder m_serviceProfiles
protected ParameterListHolder m_parameters
protected ConfigAdmin m_configsets
protected java.util.Map<java.lang.String,Properties> m_configsetopts
protected OrganizationListHolder m_organizations
protected Logbuf rtcout
Constructor Detail |
---|
public Configuration_impl(ConfigAdmin configsets)
configsets
-
information of ConfigurationMethod Detail |
---|
public Configuration _this()
_this
in class ConfigurationPOA
public boolean set_device_profile(DeviceProfile dProfile) throws InvalidParameter, NotAvailable, InternalError
dProfile
-
DeviceProfile
NotAvailable
-
There is no response though SDO exists.
InvalidParameter
- i
Argument dProfile is null.
InternalError
-
An internal error occurred.public boolean add_service_profile(ServiceProfile sProfile) throws InvalidParameter, NotAvailable, InternalError
Sets ServiceProfile of SDO that keeps Configuraition interface
sProfile
-
ServiceProfile
InvalidParameter
-
Argument sProfile is null.
NotAvailable
-
There is no response though SDO exists.
InternalError
-
An internal error occurred.public boolean add_organization(Organization org) throws InvalidParameter, NotAvailable, InternalError
org
-
Organization
NotAvailable
-
There is no response though SDO existis.
InvalidParameter
-
Argument organization is null.
InternalError
-
An internal error occureed.public boolean remove_service_profile(java.lang.String id) throws InvalidParameter, NotAvailable, InternalError
id
-
serviceID of ServiceProfile
InvalidParameter
-
Argument "id" is null.
ServiceProfile related to "id" does not exist.
NotAvailable
-
There is no response though SDO exists.
InternalError
-
An internal error occurred.public boolean remove_organization(java.lang.String organization_id) throws InvalidParameter, NotAvailable, InternalError
organization_id
-
Unique ID of Orgnazaion
InvalidParameter
-
Argument "id" is null.
Organization to related to "id" dose not exist
NotAvailable
-
There is no response thorug SDO exists
InternalError
-
An internal erro occurredpublic Parameter[] get_configuration_parameters() throws NotAvailable, InternalError
NotAvailable
-
There is no response though SDO exists
InternalError
-
An internal error occurredpublic NameValue[] get_configuration_parameter_values() throws NotAvailable, InternalError
Returns configuration paramter and value
NotAvailable
-
There is no response though SDO exists
InternalError
-
An internal error occurredpublic org.omg.CORBA.Any get_configuration_parameter_value(java.lang.String name) throws InvalidParameter, NotAvailable, InternalError
This operation returns the argument value specified by "Name".
name
-
Name of paramter that demands value.
InvalidParameter
-
Argument "name" is null.
NotAvailable
-
There is no response though SDO exists.
InternalError
-
An internal error occurredpublic boolean set_configuration_parameter(java.lang.String name, org.omg.CORBA.Any value) throws InvalidParameter, NotAvailable, InternalError
name
- value
-
InvalidParameter
NotAvailable
InternalError
public ConfigurationSet[] get_configuration_sets() throws NotAvailable, InternalError
NotAvailable
- SDOは存在するが応答がない。
InternalError
- 内部的エラーが発生した。public ConfigurationSet get_configuration_set(java.lang.String config_id) throws NotAvailable, InternalError
[CORBA interface] ConfigurationSet を取得します。
このオペレーションは引数で指定された ConfigurationSet の ID に関連
付けられた ConfigurationSet を返します。
config_id
- ConfigurationSet の識別子。
NotAvailable
- SDOは存在するが応答がない。
InternalError
- 内部的エラーが発生した。public boolean set_configuration_set_values(ConfigurationSet configuration_set) throws InvalidParameter, NotAvailable, InternalError
This operation modifies the specified ConfigurationSet of an SDO. Note: The number of parameters differs between spec and IDL!!
configuration_set
-
configuration_set ConfigurationSet to be replaced.
InvalidParameter
-
The parameter 'configurationSetID' is null
or there is no ConfigurationSet stored with
such id.
This exception is also raised if one of the
attributes defining ConfigurationSet is not
valid.
SDONotExists
-
The target SDO does not exist.(This exception
is mapped to CORBA standard system exception
OBJECT_NOT_EXIST.)
NotAvailable
-
The target SDO is reachable but cannot respond.
InternalError
-
The target SDO cannot execute the operation
completely due to some internal error.public ConfigurationSet get_active_configuration_set() throws NotAvailable, InternalError
In the following cases, it is considered that ConfigurationSet is not active.
NotAvailable
-
There is no response though SDO exists.
InternalError
-
An internal error occurredpublic boolean add_configuration_set(ConfigurationSet configuration_set) throws InvalidParameter, NotAvailable, InternalError
Adds ConfigurationSet to ConfigurationProfile.
configuration_set
-
ConfgurataionSet
InvalidParameter
-
Argument "configurations_set" is null.
ConfigurationSet specified by the argument dose not exist
NotAvailable
-
There is no rsponse though SDO exists
InternalError
-
An internal error occurredpublic boolean remove_configuration_set(java.lang.String config_id) throws InvalidParameter, NotAvailable, InternalError
config_id
-
"id" of ConfigurationSet
InvalidParameter
-
Argument "configurationSetID" is null.
ConfigurationSet specified by the argument doesn't exist.
NotAvailable
-
There is no response though SDO exists
InternalError
-
An internal error occurredpublic boolean activate_configuration_set(java.lang.String config_id) throws InvalidParameter, NotAvailable, InternalError
the configuration property of SDO is changed to the value of the value of the property that is set by ConfigurationSet.
config_id
-
"id" of ConfigurationSet
InvalidParameter
-
Argument "config_id" is nill.
ConfigurationSet specified by the argument doesn't exist.
NotAvailable
-
There is no response though SDO exists
InternalError
-
An internal error occurredpublic Configuration getObjRef()
public final DeviceProfile getDeviceProfile()
public final ServiceProfileListHolder getServiceProfiles()
public final ServiceProfile getServiceProfile(java.lang.String id)
When SeiviceProfile specified by ID dose not exist, Empty ServicePorfile is returned
id
-
"id" of ServiceProfile
public final OrganizationListHolder getOrganizations()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |