jp.go.aist.rtm.RTC.port
クラス InPortCorbaProvider<DataType>

java.lang.Object
  上位を拡張 org.omg.PortableServer.Servant
      上位を拡張 RTC.InPortAnyPOA
          上位を拡張 jp.go.aist.rtm.RTC.port.InPortCorbaProvider<DataType>
型パラメータ:
DataType - データ型を指定します。
すべての実装されたインタフェース:
InPortProvider, org.omg.CORBA.portable.InvokeHandler, InPortAnyOperations

public class InPortCorbaProvider<DataType>
extends InPortAnyPOA
implements InPortProvider

CORBAを通信手段とする入力ポートプロバイダの実装です。


コンストラクタの概要
InPortCorbaProvider(java.lang.Class<DataType> DATA_TYPE_CLASS, BufferBase<DataType> buffer)
          コンストラクタです。
 
メソッドの概要
 InPortAny _this()
          本オブジェクトのInPortAnyとしてのCORBAオブジェクト参照を取得します。
 void init(Properties prop)
           Initializing configuration This operation would be called to configure this consumer in initialization.
 boolean publishInterface(NVListHolder properties)
          Interface情報を公開します。
 void publishInterfaceProfile(NVListHolder properties)
          InterfaceProfile情報を公開します。
 void put(org.omg.CORBA.Any data)
          バッファにデータを書き込みます。
 void setBuffer(BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
           Initializing configuration This operation would be called to configure this consumer in initialization.
 void setObjRef(InPortAny port)
          InPortAnyとしてのCORBAオブジェクト参照を設定します。
 
クラス RTC.InPortAnyPOA から継承されたメソッド
_all_interfaces, _invoke, _this
 
クラス 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
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

InPortCorbaProvider

public InPortCorbaProvider(java.lang.Class<DataType> DATA_TYPE_CLASS,
                           BufferBase<DataType> buffer)
                    throws java.lang.Exception

コンストラクタです。

パラメータ:
DATA_TYPE_CLASS - 型パラメータで指定されたデータ型のClassオブジェクト
buffer - 当該プロバイダに割り当てるバッファ
例外:
java.lang.Exception
メソッドの詳細

setObjRef

public void setObjRef(InPortAny port)

InPortAnyとしてのCORBAオブジェクト参照を設定します。

パラメータ:
port - CORBAオブジェクト参照

_this

public InPortAny _this()

本オブジェクトのInPortAnyとしてのCORBAオブジェクト参照を取得します。

オーバーライド:
クラス InPortAnyPOA 内の _this
戻り値:
CORBAオブジェクト参照

publishInterface

public boolean publishInterface(NVListHolder properties)

Interface情報を公開します。

定義:
インタフェース InPortProvider 内の publishInterface
パラメータ:
properties - Interface情報を受け取るホルダオブジェクト
戻り値:
boolean

put

public void put(org.omg.CORBA.Any data)
         throws org.omg.CORBA.SystemException

バッファにデータを書き込みます。

定義:
インタフェース InPortAnyOperations 内の put
パラメータ:
data - 書き込むデータ
例外:
org.omg.CORBA.SystemException

publishInterfaceProfile

public void publishInterfaceProfile(NVListHolder properties)

InterfaceProfile情報を公開します。

定義:
インタフェース InPortProvider 内の publishInterfaceProfile
パラメータ:
properties - InterfaceProfile情報を受け取るホルダオブジェクト

init

public void init(Properties prop)
インタフェース InPortProvider の記述:

Initializing configuration

This operation would be called to configure this consumer

in initialization.

定義:
インタフェース InPortProvider 内の init

setBuffer

public void setBuffer(BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
インタフェース InPortProvider の記述:

Initializing configuration

This operation would be called to configure this consumer

in initialization.

定義:
インタフェース InPortProvider 内の setBuffer