jp.go.aist.rtm.RTC
クラス NamingOnCorba

java.lang.Object
  上位を拡張 jp.go.aist.rtm.RTC.NamingOnCorba
すべての実装されたインタフェース:
NamingBase

 class NamingOnCorba
extends java.lang.Object
implements NamingBase

CORBA用Naming Serviceクラスです。


フィールドの概要
protected  Logbuf rtcout
          
 
コンストラクタの概要
NamingOnCorba(org.omg.CORBA.ORB orb, java.lang.String names)
           Constructor
 
メソッドの概要
 void bindObject(java.lang.String name, ManagerServant mgr)
           bindObject
 void bindObject(java.lang.String name, RTObject_impl rtobj)
           Bind the specified objects to NamingService
 boolean isAlive()
           Check if the name service is alive
 void unbindObject(java.lang.String name)
           Unbind the specified CORBA objects from NamingService
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

rtcout

protected Logbuf rtcout

コンストラクタの詳細

NamingOnCorba

public NamingOnCorba(org.omg.CORBA.ORB orb,
                     java.lang.String 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
メソッドの詳細

bindObject

public void bindObject(java.lang.String name,
                       RTObject_impl rtobj)
Bind the specified objects to NamingService

Bind the specified objects to CORBA NamingService by specified names.

定義:
インタフェース NamingBase 内の bindObject
パラメータ:
name - Names at the binding
rtobj - The target objects for the binding

bindObject

public void bindObject(java.lang.String name,
                       ManagerServant mgr)

bindObject

定義:
インタフェース NamingBase 内の bindObject
パラメータ:
name - bind時の名称
mgr - bind対象マネージャサーバント

unbindObject

public void unbindObject(java.lang.String name)
Unbind the specified CORBA objects from NamingService

Unbind the specified CORBA objects from CORBA NamingService.

定義:
インタフェース NamingBase 内の unbindObject
パラメータ:
name - The target objects for the unbinding

isAlive

public boolean isAlive()
Check if the name service is alive

定義:
インタフェース NamingBase 内の isAlive
戻り値:
rue: alive, false:non not alive