Methods Summary |
---|
public java.lang.Object | getCircularBuffer()returns the circular buffer
return circularBuffer;
|
public javax.media.Format | getFormat()The selected format.
return format;
|
public com.sun.media.Module | getModule()Returns the Module which owns this Connector.
return module;
|
public java.lang.String | getName()returns the name of this Connector
return name;
|
public int | getProtocol()returns the data transfer protocol used by this connector.
return protocol;
|
public int | getSize()gets the minimum number of buffer objects this Connector should create.
return minSize;
|
public void | print()
circularBuffer.print();
|
public void | reset()restores this Connector to its initial state
circularBuffer.reset();
|
public void | setCircularBuffer(java.lang.Object cicularBuffer)sets the CircularBuffer of this Connector.
this.circularBuffer = (CircularBuffer)cicularBuffer;
|
public void | setFormat(javax.media.Format format)Selects a format for this Connector. Delegates this call to its owning Module
module.setFormat((Connector)this,format);
this.format=format;
|
public void | setModule(com.sun.media.Module module)sets the Module which owns this Connector.
this.module = module;
|
public void | setName(java.lang.String name)sets the name of this Connector
this.name=name;
|
public void | setProtocol(int protocol)sets the data transfer protocol used by this connector.
this.protocol=protocol;
|
public void | setSize(int numOfBufferObjects)sets the minimum number of buffer objects this Connector should create.
The default value should be one buffer object.
minSize = numOfBufferObjects;
|