T - the very type of the SourceStream wrapped by
SourceStreamDelegatepublic class SourceStreamDelegate<T extends javax.media.protocol.SourceStream> extends Object implements javax.media.protocol.SourceStream
| Modifier and Type | Field and Description |
|---|---|
protected T |
stream
The SourceStreamDelegate wrapped by this instance.
|
| Constructor and Description |
|---|
SourceStreamDelegate(T stream)
Initializes a new SourceStreamDelegate instance which is to
wrap a specific SourceStream.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
endOfStream()
Implements
SourceStream.endOfStream(). |
javax.media.protocol.ContentDescriptor |
getContentDescriptor()
Implements
SourceStream.getContentDescriptor(). |
long |
getContentLength()
Implements
SourceStream.getContentLength(). |
Object |
getControl(String controlType)
Implements
Controls.getControl(String). |
Object[] |
getControls()
Implements
Controls.getControls(). |
protected final T extends javax.media.protocol.SourceStream stream
public SourceStreamDelegate(T stream)
stream - the SourceStream the new instance is to
wrappublic boolean endOfStream()
SourceStream.endOfStream(). Delegates to the wrapped
SourceStream.endOfStream in interface javax.media.protocol.SourceStreampublic javax.media.protocol.ContentDescriptor getContentDescriptor()
SourceStream.getContentDescriptor(). Delegates to the
wrapped SourceStream.getContentDescriptor in interface javax.media.protocol.SourceStreampublic long getContentLength()
SourceStream.getContentLength(). Delegates to the
wrapped SourceStream.getContentLength in interface javax.media.protocol.SourceStreampublic Object getControl(String controlType)
Controls.getControl(String). Delegates to the wrapped
SourceStream.getControl in interface javax.media.ControlscontrolType - a String value which specifies the type of
the control to be retrievedpublic Object[] getControls()
Controls.getControls(). Delegates to the wrapped
SourceStream.getControls in interface javax.media.ControlsCopyright © 2021 jitsi.org. All rights reserved.