|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.protocol.SourceStreamDelegate<T>
T - the very type of the SourceStream wrapped by
SourceStreamDelegatepublic class SourceStreamDelegate<T extends javax.media.protocol.SourceStream>
Implements a SourceStream which wraps a specific SourceStream.
| Field Summary | |
|---|---|
protected T |
stream
The SourceStreamDelegate wrapped by this instance. |
| Fields inherited from interface javax.media.protocol.SourceStream |
|---|
LENGTH_UNKNOWN |
| Constructor Summary | |
|---|---|
SourceStreamDelegate(T stream)
Initializes a new SourceStreamDelegate instance which is to wrap a specific SourceStream. |
|
| Method Summary | |
|---|---|
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(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final T extends javax.media.protocol.SourceStream stream
| Constructor Detail |
|---|
public SourceStreamDelegate(T stream)
stream - the SourceStream the new instance is to
wrap| Method Detail |
|---|
public 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 retrieved
public Object[] getControls()
Controls.getControls(). Delegates to the wrapped
SourceStream.
getControls in interface javax.media.Controls
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||