|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object com.sun.media.BasicConnector
public abstract class BasicConnector
Defines implementation of the Connector interface.
字段摘要 | |
---|---|
protected CircularBuffer |
circularBuffer
the circularBuffer which is the connector memory |
protected Format |
format
the format chosen for this connector. null if none |
protected int |
minSize
minimum number of data chunks this connector should allocate |
protected Module |
module
the module which registered this connector |
protected java.lang.String |
name
the name the module chose for this connector |
protected int |
protocol
the data transfer protocol chosen for this Connector. |
从接口 com.sun.media.Connector 继承的字段 |
---|
ProtocolPush, ProtocolSafe |
构造方法摘要 | |
---|---|
BasicConnector()
|
方法摘要 | |
---|---|
java.lang.Object |
getCircularBuffer()
returns the circular buffer |
Format |
getFormat()
The selected format. |
Module |
getModule()
Returns the Module which owns this Connector. |
java.lang.String |
getName()
returns the name of this Connector |
int |
getProtocol()
returns the data transfer protocol used by this connector. |
int |
getSize()
gets the minimum number of buffer objects this Connector should create. |
void |
print()
|
void |
reset()
restores this Connector to its initial state |
void |
setCircularBuffer(java.lang.Object cicularBuffer)
sets the CircularBuffer of this Connector. |
void |
setFormat(Format format)
Selects a format for this Connector. |
void |
setModule(Module module)
sets the Module which owns this Connector. |
void |
setName(java.lang.String name)
sets the name of this Connector |
void |
setProtocol(int protocol)
sets the data transfer protocol used by this connector. |
void |
setSize(int numOfBufferObjects)
sets the minimum number of buffer objects this Connector should create. |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
protected Module module
protected int minSize
protected Format format
protected CircularBuffer circularBuffer
protected java.lang.String name
protected int protocol
Connector.ProtocolPush
,
Connector.ProtocolSafe
构造方法详细信息 |
---|
public BasicConnector()
方法详细信息 |
---|
public java.lang.Object getCircularBuffer()
Connector
中的 getCircularBuffer
circularBuffer
public void setCircularBuffer(java.lang.Object cicularBuffer)
Connector
中的 setCircularBuffer
cicularBuffer
- the circular buffer used by this ConnectioncircularBuffer
public void setFormat(Format format)
Connector
中的 setFormat
format
public Format getFormat()
Connector
中的 getFormat
format
public Module getModule()
Connector
中的 getModule
module
public void setModule(Module module)
Connector
中的 setModule
module
public void setSize(int numOfBufferObjects)
Connector
中的 setSize
minSize
public int getSize()
Connector
中的 getSize
minSize
public void reset()
Connector
中的 reset
public java.lang.String getName()
Connector
中的 getName
name
public void setName(java.lang.String name)
Connector
中的 setName
name
public void setProtocol(int protocol)
Connector
中的 setProtocol
protocol
- either ProtocolPush, ProtocolSafeprotocol
public int getProtocol()
Connector
中的 getProtocol
protocol
public void print()
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |