|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.Objectcom.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 中的 getCircularBuffercircularBufferpublic void setCircularBuffer(java.lang.Object cicularBuffer)
Connector 中的 setCircularBuffercicularBuffer - the circular buffer used by this ConnectioncircularBufferpublic void setFormat(Format format)
Connector 中的 setFormatformatpublic Format getFormat()
Connector 中的 getFormatformatpublic Module getModule()
Connector 中的 getModulemodulepublic void setModule(Module module)
Connector 中的 setModulemodulepublic void setSize(int numOfBufferObjects)
Connector 中的 setSizeminSizepublic int getSize()
Connector 中的 getSizeminSizepublic void reset()
Connector 中的 resetpublic java.lang.String getName()
Connector 中的 getNamenamepublic void setName(java.lang.String name)
Connector 中的 setNamenamepublic void setProtocol(int protocol)
Connector 中的 setProtocolprotocol - either ProtocolPush, ProtocolSafeprotocolpublic int getProtocol()
Connector 中的 getProtocolprotocolpublic void print()
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||