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

java.lang.Object
  上位を拡張 jp.go.aist.rtm.RTC.port.ConnectorBase
      上位を拡張 jp.go.aist.rtm.RTC.port.OutPortConnector
          上位を拡張 jp.go.aist.rtm.RTC.port.OutPortPushConnector

public class OutPortPushConnector
extends OutPortConnector


入れ子のクラスの概要
 
クラス jp.go.aist.rtm.RTC.port.ConnectorBase から継承された入れ子のクラス/インタフェース
ConnectorBase.Profile
 
フィールドの概要
 
クラス jp.go.aist.rtm.RTC.port.OutPortConnector から継承されたフィールド
m_profile, rtcout
 
コンストラクタの概要
OutPortPushConnector(ConnectorBase.Profile profile, InPortConsumer consumer)
           
OutPortPushConnector(ConnectorBase.Profile profile, InPortConsumer consumer, BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
           Constructor OutPortPushConnector assume ownership of InPortConsumer.
 
メソッドの概要
 void activate()
           Connector activation This operation activates this connector
protected  BufferBase<org.omg.CORBA.portable.OutputStream> createBuffer(ConnectorBase.Profile profile)
           create buffer
protected  PublisherBase createPublisher(ConnectorBase.Profile profile)
           create publisher
 void deactivate()
           Connector deactivation This operation deactivates this connector
 ReturnCode disconnect()
           disconnect This operation destruct and delete the consumer, the publisher and the buffer.
 BufferBase<org.omg.CORBA.portable.OutputStream> getBuffer()
           Getting Buffer This operation returns this connector's buffer
 ReturnCode write(org.omg.CORBA.portable.OutputStream data)
           Writing data This operation writes data into publisher and then the data will be transferred to correspondent InPort.
 
クラス jp.go.aist.rtm.RTC.port.OutPortConnector から継承されたメソッド
id, name, profile
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

OutPortPushConnector

public OutPortPushConnector(ConnectorBase.Profile profile,
                            InPortConsumer consumer,
                            BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
                     throws java.lang.Exception

Constructor

OutPortPushConnector assume ownership of InPortConsumer. Therefore, InPortConsumer will be deleted when OutPortPushConnector is destructed.

パラメータ:
profile - ConnectorProfile
consumer - InPortConsumer
例外:
java.lang.Exception

OutPortPushConnector

public OutPortPushConnector(ConnectorBase.Profile profile,
                            InPortConsumer consumer)
                     throws java.lang.Exception
例外:
java.lang.Exception
メソッドの詳細

write

public ReturnCode write(org.omg.CORBA.portable.OutputStream data)

Writing data

This operation writes data into publisher and then the data

will be transferred to correspondent InPort.

定義:
クラス OutPortConnector 内の write

disconnect

public ReturnCode disconnect()

disconnect

This operation destruct and delete the consumer, the publisher

and the buffer.

定義:
クラス OutPortConnector 内の disconnect

activate

public void activate()

Connector activation

This operation activates this connector

定義:
クラス ConnectorBase 内の activate

getBuffer

public BufferBase<org.omg.CORBA.portable.OutputStream> getBuffer()

Getting Buffer

This operation returns this connector's buffer

定義:
クラス OutPortConnector 内の getBuffer

deactivate

public void deactivate()

Connector deactivation

This operation deactivates this connector

定義:
クラス ConnectorBase 内の deactivate

createPublisher

protected PublisherBase createPublisher(ConnectorBase.Profile profile)

create publisher


createBuffer

protected BufferBase<org.omg.CORBA.portable.OutputStream> createBuffer(ConnectorBase.Profile profile)

create buffer