jp.go.aist.rtm.RTC
Class LocalServiceAdmin

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

public class LocalServiceAdmin
extends java.lang.Object

SDO service administration class


Method Summary
 void _finalize()
           Finalization ofLocalServiceAdmin
 boolean addLocalService(LocalServiceBase service)
           Set a SDO service provider
 LocalServiceBase getService(java.lang.String id)
           Get a pointer of a LocalService
 boolean getServiceProfile(java.lang.String name, LocalServiceProfile prof)
           Get LocalServiceProfile of an LocalService
 LocalServiceProfile[] getServiceProfiles()
           Getting LocalServiceProfileList
 void init(Properties props)
           Initialization of LocalServiceAdmin
static LocalServiceAdmin instance()
           
 boolean removeLocalService(java.lang.String name)
           Remove a LocalService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static LocalServiceAdmin instance()

init

public void init(Properties props)
Initialization of LocalServiceAdmin


_finalize

public void _finalize()
Finalization ofLocalServiceAdmin


getServiceProfiles

public LocalServiceProfile[] getServiceProfiles()
Getting LocalServiceProfileList


getServiceProfile

public boolean getServiceProfile(java.lang.String name,
                                 LocalServiceProfile prof)
Get LocalServiceProfile of an LocalService

This operation returns LocalServiceProfile of a LocalService which has the specified id. If the specified id is NULL pointer or the specified id does not exist in the ServiceProfile list, false will be returned.

Parameters:
name - ID of an LocalService
prof -
Returns:
LocalServiceProfile which has the specified id

getService

public LocalServiceBase getService(java.lang.String id)
Get a pointer of a LocalService

This operation returnes a pointer to the LocalService which has the specified id. If the specified id is NULL pointer or the specified id does not exist in the ServiceProfile list, NULL pointer will be returned.

Parameters:
id - ID of a LocalService
Returns:
a pointer which has the specified id

addLocalService

public boolean addLocalService(LocalServiceBase service)
Set a SDO service provider


removeLocalService

public boolean removeLocalService(java.lang.String name)
Remove a LocalService