?? agichannelimpl.html
字號:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> char</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/fastagi/internal/AgiChannelImpl.html#sayPhonetic(java.lang.String, java.lang.String)">sayPhonetic</A></B>(java.lang.String text, java.lang.String escapeDigits)</CODE><BR> Says the given character string with phonetics, returning early if any of the given DTMF number are received on the channel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/fastagi/internal/AgiChannelImpl.html#sayTime(long)">sayTime</A></B>(long time)</CODE><BR> Says the given time.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> char</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/fastagi/internal/AgiChannelImpl.html#sayTime(long, java.lang.String)">sayTime</A></B>(long time, java.lang.String escapeDigits)</CODE><BR> Says the given time, returning early if any of the given DTMF number are received on the channel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/asteriskjava/fastagi/reply/AgiReply.html" title="interface in org.asteriskjava.fastagi.reply">AgiReply</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/fastagi/internal/AgiChannelImpl.html#sendCommand(org.asteriskjava.fastagi.command.AgiCommand)">sendCommand</A></B>(<A HREF="../../../../org/asteriskjava/fastagi/command/AgiCommand.html" title="interface in org.asteriskjava.fastagi.command">AgiCommand</A> command)</CODE><BR> Sends a command to asterisk and returns the corresponding reply.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/fastagi/internal/AgiChannelImpl.html#setAutoHangup(int)">setAutoHangup</A></B>(int time)</CODE><BR> Cause the channel to automatically hangup at the given number of seconds in the future.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/fastagi/internal/AgiChannelImpl.html#setCallerId(java.lang.String)">setCallerId</A></B>(java.lang.String callerId)</CODE><BR> Sets the caller id on the current channel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/fastagi/internal/AgiChannelImpl.html#setContext(java.lang.String)">setContext</A></B>(java.lang.String context)</CODE><BR> Sets the context for continuation upon exiting the application.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/fastagi/internal/AgiChannelImpl.html#setExtension(java.lang.String)">setExtension</A></B>(java.lang.String extension)</CODE><BR> Sets the extension for continuation upon exiting the application.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/fastagi/internal/AgiChannelImpl.html#setPriority(java.lang.String)">setPriority</A></B>(java.lang.String priority)</CODE><BR> Sets the priority or label for continuation upon exiting the application.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/fastagi/internal/AgiChannelImpl.html#setVariable(java.lang.String, java.lang.String)">setVariable</A></B>(java.lang.String name, java.lang.String value)</CODE><BR> Sets the value of the current channel variable to a new value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/fastagi/internal/AgiChannelImpl.html#stopMusicOnHold()">stopMusicOnHold</A></B>()</CODE><BR> Stops playing music on hold.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/fastagi/internal/AgiChannelImpl.html#streamFile(java.lang.String)">streamFile</A></B>(java.lang.String file)</CODE><BR> Plays the given file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> char</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/fastagi/internal/AgiChannelImpl.html#streamFile(java.lang.String, java.lang.String)">streamFile</A></B>(java.lang.String file, java.lang.String escapeDigits)</CODE><BR> Plays the given file and allows the user to escape by pressing one of the given digit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/fastagi/internal/AgiChannelImpl.html#verbose(java.lang.String, int)">verbose</A></B>(java.lang.String message, int level)</CODE><BR> Sends a message to the Asterisk console via the verbose message system.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> char</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/asteriskjava/fastagi/internal/AgiChannelImpl.html#waitForDigit(int)">waitForDigit</A></B>(int timeout)</CODE><BR> Waits up to 'timeout' milliseconds to receive a DTMF digit.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public java.lang.String <B>getName</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiChannel.html#getName()">AgiChannel</A></CODE></B></DD><DD>Returns the name of the channel.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiChannel.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiChannel.html" title="interface in org.asteriskjava.fastagi">AgiChannel</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the name of the channel.</DL></DD></DL><HR><A NAME="getUniqueId()"><!-- --></A><H3>getUniqueId</H3><PRE>public java.lang.String <B>getUniqueId</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiChannel.html#getUniqueId()">AgiChannel</A></CODE></B></DD><DD>Returns the unqiue id of the channel.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiChannel.html#getUniqueId()">getUniqueId</A></CODE> in interface <CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiChannel.html" title="interface in org.asteriskjava.fastagi">AgiChannel</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the unqiue id of the channel.</DL></DD></DL><HR><A NAME="sendCommand(org.asteriskjava.fastagi.command.AgiCommand)"><!-- --></A><H3>sendCommand</H3><PRE>public <A HREF="../../../../org/asteriskjava/fastagi/reply/AgiReply.html" title="interface in org.asteriskjava.fastagi.reply">AgiReply</A> <B>sendCommand</B>(<A HREF="../../../../org/asteriskjava/fastagi/command/AgiCommand.html" title="interface in org.asteriskjava.fastagi.command">AgiCommand</A> command) throws <A HREF="../../../../org/asteriskjava/fastagi/AgiException.html" title="class in org.asteriskjava.fastagi">AgiException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiChannel.html#sendCommand(org.asteriskjava.fastagi.command.AgiCommand)">AgiChannel</A></CODE></B></DD><DD>Sends a command to asterisk and returns the corresponding reply.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiChannel.html#sendCommand(org.asteriskjava.fastagi.command.AgiCommand)">sendCommand</A></CODE> in interface <CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiChannel.html" title="interface in org.asteriskjava.fastagi">AgiChannel</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>command</CODE> - the command to send.<DT><B>Returns:</B><DD>the reply of the asterisk server containing the return value.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiException.html" title="class in org.asteriskjava.fastagi">AgiException</A></CODE> - if the command can't be sent to Asterisk (for example because the channel has been hung up)</DL></DD></DL><HR><A NAME="answer()"><!-- --></A><H3>answer</H3><PRE>public void <B>answer</B>() throws <A HREF="../../../../org/asteriskjava/fastagi/AgiException.html" title="class in org.asteriskjava.fastagi">AgiException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiChannel.html#answer()">AgiChannel</A></CODE></B></DD><DD>Answers the channel.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiChannel.html#answer()">answer</A></CODE> in interface <CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiChannel.html" title="interface in org.asteriskjava.fastagi">AgiChannel</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiException.html" title="class in org.asteriskjava.fastagi">AgiException</A></CODE></DL></DD></DL><HR><A NAME="hangup()"><!-- --></A><H3>hangup</H3><PRE>public void <B>hangup</B>() throws <A HREF="../../../../org/asteriskjava/fastagi/AgiException.html" title="class in org.asteriskjava.fastagi">AgiException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiChannel.html#hangup()">AgiChannel</A></CODE></B></DD><DD>Hangs the channel up.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiChannel.html#hangup()">hangup</A></CODE> in interface <CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiChannel.html" title="interface in org.asteriskjava.fastagi">AgiChannel</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/asteriskjava/fastagi/AgiException.html" title="class in org.asteriskjava.fastagi">AgiException</A></CODE></DL></DD></DL>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -