jp.go.aist.rtm.RTC
Class SdoServiceAdmin

java.lang.Object
  extended by jp.go.aist.rtm.RTC.SdoServiceAdmin

public class SdoServiceAdmin
extends java.lang.Object

SDO service administration class


Field Summary
protected  Logbuf rtcout
           logger
 
Constructor Summary
SdoServiceAdmin(RTObject_impl rtobj)
           Constructor
 
Method Summary
 boolean addSdoServiceConsumer(ServiceProfile sProfile)
           Add Service Consumer
 boolean addSdoServiceProvider(ServiceProfile prof, SdoServiceProviderBase provider)
           Set a SDO service provider
 SDOService getServiceProvider(java.lang.String id)
           Get ServiceProfile of an SDO Service
 ServiceProfile getServiceProviderProfile(java.lang.String id)
           Get ServiceProfile of an SDO Service Provider
 ServiceProfile[] getServiceProviderProfiles()
           Get ServiceProfileList of SDO Service Provider
(package private)  java.lang.String getUUID()
           
protected  boolean isEnabledConsumerType(ServiceProfile sProfile)
           If it is enabled service type
protected  boolean isExistingConsumerType(ServiceProfile sProfile)
           If it is existing service type
 boolean removeSdoServiceConsumer(java.lang.String id)
           Remove Service Consumer
 boolean removeSdoServiceProvider(java.lang.String id)
           Remove a SDO service provider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rtcout

protected Logbuf rtcout
logger

Constructor Detail

SdoServiceAdmin

public SdoServiceAdmin(RTObject_impl rtobj)
Constructor

Method Detail

getServiceProviderProfiles

public ServiceProfile[] getServiceProviderProfiles()
Get ServiceProfileList of SDO Service Provider


getServiceProviderProfile

public ServiceProfile getServiceProviderProfile(java.lang.String id)
                                         throws InvalidParameter
Get ServiceProfile of an SDO Service Provider

This operation returnes ServiceProfile of an SDO Service Provider which has the specified id. If the specified id is NULL pointer or the specified id does not exist in the ServiceProfile list, InvalidParameter exception will be thrown.

Parameters:
id - IFR ID of an SDO Service provider
Returns:
ServiceProfile which has the specified id
Throws:
InvalidParameter

getServiceProvider

public SDOService getServiceProvider(java.lang.String id)
Get ServiceProfile of an SDO Service

This operation returnes an object reference of an SDO Service Provider which has the specified id. If the specified id is NULL pointer or the specified id does not exist in the ServiceProfile list, InvalidParameter exception will be thrown.

Parameters:
id - IFR ID of an SDO Service provider
Returns:
an SDO Service reference which has the specified id

addSdoServiceProvider

public boolean addSdoServiceProvider(ServiceProfile prof,
                                     SdoServiceProviderBase provider)
Set a SDO service provider


removeSdoServiceProvider

public boolean removeSdoServiceProvider(java.lang.String id)
Remove a SDO service provider


addSdoServiceConsumer

public boolean addSdoServiceConsumer(ServiceProfile sProfile)
Add Service Consumer


removeSdoServiceConsumer

public boolean removeSdoServiceConsumer(java.lang.String id)
Remove Service Consumer


isEnabledConsumerType

protected boolean isEnabledConsumerType(ServiceProfile sProfile)
If it is enabled service type


isExistingConsumerType

protected boolean isExistingConsumerType(ServiceProfile sProfile)
If it is existing service type


getUUID

final java.lang.String getUUID()