|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
public interface OutputConnector
OutputConnector defines the buffer movement and format typing interface for output connectors.
InputConnector,
Module| 字段摘要 |
|---|
| 从接口 com.sun.media.Connector 继承的字段 |
|---|
ProtocolPush, ProtocolSafe |
| 方法摘要 | |
|---|---|
Format |
canConnectTo(InputConnector inputConnector,
Format useThisFormat)
check if a connection to the specified InputConnector would succeed. |
Format |
connectTo(InputConnector inputConnector,
Format useThisFormat)
Connects an InputConnector to this OutputConnector. |
Buffer |
getEmptyBuffer()
Get an empty buffer object. |
InputConnector |
getInputConnector()
Return the InputConnectore this OutputConnector is connected to. |
boolean |
isEmptyBufferAvailable()
checks if there are empty Buffer objects in the Connector's queue. |
void |
writeReport()
Indicates the oldest Buffer object got from this Connector (by calling the getEmptyBuffer method) now contains valid buffer object, which can be used by the downstream Module. |
| 从接口 com.sun.media.Connector 继承的方法 |
|---|
getCircularBuffer, getFormat, getModule, getName, getProtocol, getSize, reset, setCircularBuffer, setFormat, setModule, setName, setProtocol, setSize |
| 方法详细信息 |
|---|
Format connectTo(InputConnector inputConnector,
Format useThisFormat)
inputConnector - input connector to connect to.useThisFormat - states the format of the connection.
If it is null the format would be negotiated.
Format canConnectTo(InputConnector inputConnector,
Format useThisFormat)
inputConnector - input connector to check connection to.useThisFormat - states the format of the connection.
If it is null the format would be negotiated.
InputConnector getInputConnector()
boolean isEmptyBufferAvailable()
Buffer getEmptyBuffer()
void writeReport()
Buffer
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||