public interface OutPortConsumer
出力ポートコンシューマが提供すべき機能のインタフェースです。
修飾子とタイプ | メソッドと説明 |
---|---|
ReturnCode |
get(org.omg.CORBA.portable.OutputStream data)
Pure virtual function to receive data.
|
void |
init(Properties prop)
Initializing configuration
This operation would be called to configure in initialization.
|
void |
setBuffer(BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
Setting outside buffer's pointer
A pointer to a buffer from which OutPortProvider retrieve data.
|
void |
setConnector(InPortConnector connector)
setting Connector
|
void |
setListener(ConnectorBase.ConnectorInfo info,
ConnectorListeners listeners) |
boolean |
subscribeInterface(NVListHolder properties)
指定されたプロパティセットの内容に基づいて、データ受信通知の受け取りに登録します。
|
void |
unsubscribeInterface(NVListHolder properties)
データ受信通知の受け取り登録を解除します。
|
boolean subscribeInterface(NVListHolder properties)
指定されたプロパティセットの内容に基づいて、データ受信通知の受け取りに登録します。
properties
- 登録時に参照される情報void unsubscribeInterface(NVListHolder properties)
データ受信通知の受け取り登録を解除します。
properties
- 登録解除時に参照される情報void init(Properties prop)
Initializing configuration
This operation would be called to configure in initialization. In the concrete class, configuration should be performed getting appropriate information from the given Properties data. This function might be called right after instantiation and connection sequence respectivly. Therefore, this function should be implemented assuming multiple call.
prop
- Configuration informationvoid setBuffer(BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
Setting outside buffer's pointer
A pointer to a buffer from which OutPortProvider retrieve data. If already buffer is set, previous buffer's pointer will be overwritten by the given pointer to a buffer. Since OutPortProvider does not assume ownership of the buffer pointer, destructor of the buffer should be done by user.
buffer
- A pointer to a data buffer to be used by OutPortProviderReturnCode get(org.omg.CORBA.portable.OutputStream data)
Pure virtual function to receive data.
data
- void setConnector(InPortConnector connector)
setting Connector
connector
- void setListener(ConnectorBase.ConnectorInfo info, ConnectorListeners listeners)