|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object com.sun.media.BasicConnector com.sun.media.BasicOutputConnector
public class BasicOutputConnector
implementation of the OutputConnector interface
字段摘要 | |
---|---|
protected InputConnector |
inputConnector
the connected input connector |
从类 com.sun.media.BasicConnector 继承的字段 |
---|
circularBuffer, format, minSize, module, name, protocol |
从接口 com.sun.media.Connector 继承的字段 |
---|
ProtocolPush, ProtocolSafe |
构造方法摘要 | |
---|---|
BasicOutputConnector()
|
方法摘要 | |
---|---|
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 |
reset()
restores this Connector to its initial state |
void |
writeReport()
put media chunk in the queue |
从类 com.sun.media.BasicConnector 继承的方法 |
---|
getCircularBuffer, getFormat, getModule, getName, getProtocol, getSize, print, setCircularBuffer, setFormat, setModule, setName, setProtocol, setSize |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
从接口 com.sun.media.Connector 继承的方法 |
---|
getCircularBuffer, getFormat, getModule, getName, getProtocol, getSize, setCircularBuffer, setFormat, setModule, setName, setProtocol, setSize |
字段详细信息 |
---|
protected InputConnector inputConnector
构造方法详细信息 |
---|
public BasicOutputConnector()
方法详细信息 |
---|
public Format connectTo(InputConnector inputConnector, Format useThisFormat)
OutputConnector
中的 connectTo
inputConnector
- input connector to connect to.useThisFormat
- states the format of the connection.
If it is null the format would be negotiated.
public Format canConnectTo(InputConnector inputConnector, Format useThisFormat)
OutputConnector
中的 canConnectTo
inputConnector
- input connector to check connection to.useThisFormat
- states the format of the connection.
If it is null the format would be negotiated.
public InputConnector getInputConnector()
OutputConnector
中的 getInputConnector
public void reset()
BasicConnector
复制的描述
Connector
中的 reset
BasicConnector
中的 reset
public boolean isEmptyBufferAvailable()
OutputConnector
中的 isEmptyBufferAvailable
public Buffer getEmptyBuffer()
OutputConnector
中的 getEmptyBuffer
public void writeReport()
OutputConnector
中的 writeReport
Buffer
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |