jp.go.aist.rtm.RTC.port
クラス InPortProviderImpl

java.lang.Object
  上位を拡張 org.omg.PortableServer.Servant
      上位を拡張 OpenRTM.InPortCdrPOA
          上位を拡張 jp.go.aist.rtm.RTC.port.InPortProviderImpl
すべての実装されたインタフェース:
InPortProvider, InPortCdrOperations, org.omg.CORBA.portable.InvokeHandler
直系の既知のサブクラス:
InPortTcpSockProvider

public class InPortProviderImpl
extends InPortCdrPOA
implements InPortProvider

InPortProviderインタフェースを実装する際に利用するベースクラスです。


フィールドの概要
protected  NVListHolder m_properties
          インタフェース情報を保持するオブジェクトです。
 
コンストラクタの概要
InPortProviderImpl()
           
 
メソッドの概要
 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情報を公開します。
 PortStatus put(byte[] data)
           [CORBA interface] Write data into the buffer Write data into the specified buffer.
 void setBuffer(BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
           Initializing configuration This operation would be called to configure this consumer in initialization.
protected  void setDataFlowType(java.lang.String dataflowType)
          データフロータイプを設定します。
protected  void setDataType(java.lang.String dataType)
          データタイプを設定します。
protected  void setInterfaceType(java.lang.String interfaceType)
          インタフェースタイプを設定します。
protected  void setSubscriptionType(java.lang.String subscriptionType)
          サブスクリプションタイプを設定します。
 
クラス OpenRTM.InPortCdrPOA から継承されたメソッド
_all_interfaces, _invoke, _this, _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
 

フィールドの詳細

m_properties

protected NVListHolder m_properties

インタフェース情報を保持するオブジェクトです。

コンストラクタの詳細

InPortProviderImpl

public InPortProviderImpl()
メソッドの詳細

publishInterfaceProfile

public void publishInterfaceProfile(NVListHolder properties)

InterfaceProfile情報を公開します。

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

publishInterface

public boolean publishInterface(NVListHolder properties)

Interface情報を公開します。

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

put

public PortStatus put(byte[] data)
               throws org.omg.CORBA.SystemException

[CORBA interface] Write data into the buffer

Write data into the specified buffer.

定義:
インタフェース InPortCdrOperations 内の put
パラメータ:
data - The target data for writing
例外:
org.omg.CORBA.SystemException

setDataType

protected void setDataType(java.lang.String dataType)

データタイプを設定します。

パラメータ:
dataType - データタイプ

setInterfaceType

protected void setInterfaceType(java.lang.String interfaceType)

インタフェースタイプを設定します。

パラメータ:
interfaceType - インタフェースタイプ

setDataFlowType

protected void setDataFlowType(java.lang.String dataflowType)

データフロータイプを設定します。

パラメータ:
dataflowType - データフロータイプ

setSubscriptionType

protected void setSubscriptionType(java.lang.String subscriptionType)

サブスクリプションタイプを設定します。

パラメータ:
subscriptionType - サブスクリプションタイプ

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