|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.go.aist.rtm.RTC.port.ConnectorBase
jp.go.aist.rtm.RTC.port.InPortConnector
jp.go.aist.rtm.RTC.port.InPortPushConnector
public class InPortPushConnector
入れ子のクラスの概要 |
---|
クラス jp.go.aist.rtm.RTC.port.ConnectorBase から継承された入れ子のクラス/インタフェース |
---|
ConnectorBase.ConnectorInfo, ConnectorBase.ConnectorInfoHolder |
フィールドの概要 |
---|
クラス jp.go.aist.rtm.RTC.port.InPortConnector から継承されたフィールド |
---|
m_buffer, m_isLittleEndian, m_orb, m_profile, m_spi_orb, rtcout |
コンストラクタの概要 | |
---|---|
InPortPushConnector(ConnectorBase.ConnectorInfo profile,
InPortProvider provider,
ConnectorListeners listeners,
BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
Constructor |
メソッドの概要 | |
---|---|
void |
activate()
Connector activation |
protected ReturnCode |
convertReturn(ReturnCode status)
convertReturn |
protected BufferBase<org.omg.CORBA.portable.OutputStream> |
createBuffer(ConnectorBase.ConnectorInfo profile)
create buffer |
void |
deactivate()
Connector activation |
ReturnCode |
disconnect()
disconnect |
protected void |
onConnect()
Invoke callback when connection is established |
protected void |
onDisconnect()
Invoke callback when connection is destroied |
ReturnCode |
read(DataRef<org.omg.CORBA.portable.InputStream> data)
Reading data |
void |
setListener(ConnectorBase.ConnectorInfo profile,
ConnectorListeners listeners)
|
クラス jp.go.aist.rtm.RTC.port.InPortConnector から継承されたメソッド |
---|
getBuffer, id, isLittleEndian, name, profile, setEndian |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public InPortPushConnector(ConnectorBase.ConnectorInfo profile, InPortProvider provider, ConnectorListeners listeners, BufferBase<org.omg.CORBA.portable.OutputStream> buffer) throws java.lang.Exception
InPortPushConnector's constructor is given the following arguments. According to ConnectorInfo which includes connection information, a buffer is created. It is also given a pointer to the provider object for the InPort interface. The owner-ship of the pointer is owned by this InPortPushConnector, it has responsibility to destruct the InPortProvider. InPortPushConnector also has ConnectorListeners to provide event callback mechanisms, and they would be called at the proper timing. If data buffer is given by InPortBase, the pointer to the buffer is also given as arguments.
profile
-
ConnectorInfoprovider
-
InPortProviderlisteners
-
ConnectorListeners type lsitener object listbuffer
-
CdrBufferBase type buffer
java.lang.Exception
メソッドの詳細 |
---|
public void setListener(ConnectorBase.ConnectorInfo profile, ConnectorListeners listeners)
InPortConnector
内の setListener
public ReturnCode read(DataRef<org.omg.CORBA.portable.InputStream> data)
This function reads data from the buffer. If data is read properly, this function will return PORT_OK return code. Except normal return, BUFFER_EMPTY, TIMEOUT, PRECONDITION_NOT_MET and PORT_ERROR will be returned as error codes.
InPortConnector
内の read
public ReturnCode disconnect()
This operation destruct and delete the consumer, the publisher and the buffer.
InPortConnector
内の disconnect
public void activate()
Connector activation
This operation activates this connector
ConnectorBase
内の activate
public void deactivate()
Connector activation
This operation activates this connector
ConnectorBase
内の deactivate
protected BufferBase<org.omg.CORBA.portable.OutputStream> createBuffer(ConnectorBase.ConnectorInfo profile)
create buffer
protected void onConnect()
Invoke callback when connection is established
protected void onDisconnect()
protected ReturnCode convertReturn(ReturnCode status)
convertReturn
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |