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

📄 channelreloadevent.html

📁 关于asterisk的java包
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="REASON_LOAD"><!-- --></A><H3>REASON_LOAD</H3><PRE>public static final java.lang.String <B>REASON_LOAD</B></PRE><DL><DD>The channel module has been loaded for the first time.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.asteriskjava.manager.event.ChannelReloadEvent.REASON_LOAD">Constant Field Values</A></DL></DL><HR><A NAME="REASON_RELOAD"><!-- --></A><H3>REASON_RELOAD</H3><PRE>public static final java.lang.String <B>REASON_RELOAD</B></PRE><DL><DD>The channel module has been reloaded.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.asteriskjava.manager.event.ChannelReloadEvent.REASON_RELOAD">Constant Field Values</A></DL></DL><HR><A NAME="REASON_CLI_RELOAD"><!-- --></A><H3>REASON_CLI_RELOAD</H3><PRE>public static final java.lang.String <B>REASON_CLI_RELOAD</B></PRE><DL><DD>The channel module has been reloaded from the command line.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.asteriskjava.manager.event.ChannelReloadEvent.REASON_CLI_RELOAD">Constant Field Values</A></DL></DL><HR><A NAME="REASON_MANAGER_RELOAD"><!-- --></A><H3>REASON_MANAGER_RELOAD</H3><PRE>public static final java.lang.String <B>REASON_MANAGER_RELOAD</B></PRE><DL><DD>The channel module has been reloaded due to a manager action.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.asteriskjava.manager.event.ChannelReloadEvent.REASON_MANAGER_RELOAD">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="ChannelReloadEvent(java.lang.Object)"><!-- --></A><H3>ChannelReloadEvent</H3><PRE>public <B>ChannelReloadEvent</B>(java.lang.Object&nbsp;source)</PRE><DL><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - </DL></DL><!-- ============ 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="getChannel()"><!-- --></A><H3>getChannel</H3><PRE>public java.lang.String <B>getChannel</B>()</PRE><DL><DD>Returns the channel that was reloaded. For <code>channels/chan_sip.c</code>, this would be "SIP"<P><DD><DL><DT><B>Returns:</B><DD>the channel that was reloaded (e.g. SIP)</DL></DD></DL><HR><A NAME="setChannel(java.lang.String)"><!-- --></A><H3>setChannel</H3><PRE>public void <B>setChannel</B>(java.lang.String&nbsp;channel)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>channel</CODE> - the channel that was reloaded (e.g. SIP)</DL></DD></DL><HR><A NAME="getPeerCount()"><!-- --></A><H3>getPeerCount</H3><PRE>public java.lang.Integer <B>getPeerCount</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>the number of peers defined during the configuration of this         channel (e.g. sip peer definitions)</DL></DD></DL><HR><A NAME="setPeerCount(java.lang.Integer)"><!-- --></A><H3>setPeerCount</H3><PRE>public void <B>setPeerCount</B>(java.lang.Integer&nbsp;peerCount)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>peerCount</CODE> - the number of peers defined during the configuration of            this channel (e.g. sip peer definitions)</DL></DD></DL><HR><A NAME="getRegistryCount()"><!-- --></A><H3>getRegistryCount</H3><PRE>public java.lang.Integer <B>getRegistryCount</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>the number of registrations with other channels (e.g.         registrations with other sip proxies)</DL></DD></DL><HR><A NAME="setRegistryCount(java.lang.Integer)"><!-- --></A><H3>setRegistryCount</H3><PRE>public void <B>setRegistryCount</B>(java.lang.Integer&nbsp;registryCount)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>registryCount</CODE> - the number of registrations with other channels            (e.g. registrations with other sip proxies)</DL></DD></DL><HR><A NAME="getReloadReason()"><!-- --></A><H3>getReloadReason</H3><PRE>public java.lang.String <B>getReloadReason</B>()</PRE><DL><DD>Returns the reason that this channel was reloaded as received from Asterisk, for example "CLIRELOAD (Channel module reload by CLI command)". <p> Usually you don't want to use this method directly.<P><DD><DL><DT><B>Returns:</B><DD>the reason for the reload as received from Asterisk.<DT><B>See Also:</B><DD><A HREF="../../../../org/asteriskjava/manager/event/ChannelReloadEvent.html#getReloadReasonCode()"><CODE>getReloadReasonCode()</CODE></A>, <A HREF="../../../../org/asteriskjava/manager/event/ChannelReloadEvent.html#getReloadReasonDescription()"><CODE>getReloadReasonDescription()</CODE></A></DL></DD></DL><HR><A NAME="setReloadReason(java.lang.String)"><!-- --></A><H3>setReloadReason</H3><PRE>public void <B>setReloadReason</B>(java.lang.String&nbsp;reloadReason)</PRE><DL><DD>Sets the reason that this channel was reloaded, for example "CLIRELOAD (Channel module reload by CLI command)".<P><DD><DL><DT><B>Parameters:</B><DD><CODE>reloadReason</CODE> - the reason that this channel was reloaded</DL></DD></DL><HR><A NAME="getReloadReasonCode()"><!-- --></A><H3>getReloadReasonCode</H3><PRE>public java.lang.String <B>getReloadReasonCode</B>()</PRE><DL><DD>Returns the reason that this channel was reloaded.<p> Only the code part of the reason is returned. This is one of <ul> <li>LOAD</li> <li>RELOAD</li> <li>CLIRELOAD</li> <li>MANAGERRELOAD</li> </ul><P><DD><DL><DT><B>Returns:</B><DD>the code of the reason for the reload<DT><B>See Also:</B><DD><A HREF="../../../../org/asteriskjava/manager/event/ChannelReloadEvent.html#REASON_CLI_RELOAD"><CODE>REASON_CLI_RELOAD</CODE></A>, <A HREF="../../../../org/asteriskjava/manager/event/ChannelReloadEvent.html#REASON_LOAD"><CODE>REASON_LOAD</CODE></A>, <A HREF="../../../../org/asteriskjava/manager/event/ChannelReloadEvent.html#REASON_RELOAD"><CODE>REASON_RELOAD</CODE></A>, <A HREF="../../../../org/asteriskjava/manager/event/ChannelReloadEvent.html#REASON_MANAGER_RELOAD"><CODE>REASON_MANAGER_RELOAD</CODE></A></DL></DD></DL><HR><A NAME="getReloadReasonDescription()"><!-- --></A><H3>getReloadReasonDescription</H3><PRE>public java.lang.String <B>getReloadReasonDescription</B>()</PRE><DL><DD>Returns the reason that this channel was reloaded as a human readable descriptive  string, for example "Channel module reload by CLI command".<P><DD><DL><DT><B>Returns:</B><DD>the descriptive version of the reason for the reload.</DL></DD></DL><HR><A NAME="getUserCount()"><!-- --></A><H3>getUserCount</H3><PRE>public java.lang.Integer <B>getUserCount</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>the number of users defined during the configuration of this         channel (e.g. sip user definitions)</DL></DD></DL><HR><A NAME="setUserCount(java.lang.Integer)"><!-- --></A><H3>setUserCount</H3><PRE>public void <B>setUserCount</B>(java.lang.Integer&nbsp;userCount)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>userCount</CODE> - the number of users defined during the configuration of            this channel (e.g. sip user definitions)</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="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="class-use/ChannelReloadEvent.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>Asterisk-Java</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../org/asteriskjava/manager/event/CdrEvent.html" title="class in org.asteriskjava.manager.event"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/asteriskjava/manager/event/ConnectEvent.html" title="class in org.asteriskjava.manager.event"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?org/asteriskjava/manager/event/ChannelReloadEvent.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ChannelReloadEvent.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 2004-2007 Stefan Reuter. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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