📄 connectionmanager.html
字号:
<DD>Returns true if the port listener for external components is available. When disabled there won't be a port listener active. Therefore, new external components won't be able to connect to the server.<P><DD><DL><DT><B>Returns:</B><DD>true if the port listener for external components is available.</DL></DD></DL><HR><A NAME="enableServerListener(boolean)"><!-- --></A><H3>enableServerListener</H3><PRE>void <B>enableServerListener</B>(boolean enabled)</PRE><DL><DD>Sets if the port listener for remote servers will be available or not. When disabled there won't be a port listener active. Therefore, new remote servers won't be able to connect to the server.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>enabled</CODE> - true if new remote servers will be able to connect to the server.</DL></DD></DL><HR><A NAME="isServerListenerEnabled()"><!-- --></A><H3>isServerListenerEnabled</H3><PRE>boolean <B>isServerListenerEnabled</B>()</PRE><DL><DD>Returns true if the port listener for remote servers is available. When disabled there won't be a port listener active. Therefore, new remote servers won't be able to connect to the server.<P><DD><DL><DT><B>Returns:</B><DD>true if the port listener for remote servers is available.</DL></DD></DL><HR><A NAME="enableConnectionManagerListener(boolean)"><!-- --></A><H3>enableConnectionManagerListener</H3><PRE>void <B>enableConnectionManagerListener</B>(boolean enabled)</PRE><DL><DD>Sets if the port listener for connection managers will be available or not. When disabled there won't be a port listener active. Therefore, clients will need to connect directly to the server.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>enabled</CODE> - true if new connection managers will be able to connect to the server.</DL></DD></DL><HR><A NAME="isConnectionManagerListenerEnabled()"><!-- --></A><H3>isConnectionManagerListenerEnabled</H3><PRE>boolean <B>isConnectionManagerListenerEnabled</B>()</PRE><DL><DD>Returns true if the port listener for connection managers is available. When disabled there won't be a port listener active. Therefore, clients will need to connect directly to the server.<P><DD><DL><DT><B>Returns:</B><DD>true if the port listener for connection managers is available.</DL></DD></DL><HR><A NAME="setClientListenerPort(int)"><!-- --></A><H3>setClientListenerPort</H3><PRE>void <B>setClientListenerPort</B>(int port)</PRE><DL><DD>Sets the port to use for unsecured clients. Default port: 5222.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>port</CODE> - the port to use for unsecured clients.</DL></DD></DL><HR><A NAME="getClientListenerPort()"><!-- --></A><H3>getClientListenerPort</H3><PRE>int <B>getClientListenerPort</B>()</PRE><DL><DD>Returns the port to use for unsecured clients. Default port: 5222.<P><DD><DL><DT><B>Returns:</B><DD>the port to use for unsecured clients.</DL></DD></DL><HR><A NAME="setClientSSLListenerPort(int)"><!-- --></A><H3>setClientSSLListenerPort</H3><PRE>void <B>setClientSSLListenerPort</B>(int port)</PRE><DL><DD>Sets the port to use for secured clients. Default port: 5223.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>port</CODE> - the port to use for secured clients.</DL></DD></DL><HR><A NAME="getClientSSLListenerPort()"><!-- --></A><H3>getClientSSLListenerPort</H3><PRE>int <B>getClientSSLListenerPort</B>()</PRE><DL><DD>Returns the port to use for secured clients. Default port: 5223.<P><DD><DL><DT><B>Returns:</B><DD>the port to use for secured clients.</DL></DD></DL><HR><A NAME="setComponentListenerPort(int)"><!-- --></A><H3>setComponentListenerPort</H3><PRE>void <B>setComponentListenerPort</B>(int port)</PRE><DL><DD>Sets the port to use for external components.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>port</CODE> - the port to use for external components.</DL></DD></DL><HR><A NAME="getComponentListenerPort()"><!-- --></A><H3>getComponentListenerPort</H3><PRE>int <B>getComponentListenerPort</B>()</PRE><DL><DD>Returns the port to use for external components.<P><DD><DL><DT><B>Returns:</B><DD>the port to use for external components.</DL></DD></DL><HR><A NAME="setServerListenerPort(int)"><!-- --></A><H3>setServerListenerPort</H3><PRE>void <B>setServerListenerPort</B>(int port)</PRE><DL><DD>Sets the port to use for remote servers. This port is used for remote servers to connect to this server. Default port: 5269.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>port</CODE> - the port to use for remote servers.</DL></DD></DL><HR><A NAME="getServerListenerPort()"><!-- --></A><H3>getServerListenerPort</H3><PRE>int <B>getServerListenerPort</B>()</PRE><DL><DD>Returns the port to use for remote servers. This port is used for remote servers to connect to this server. Default port: 5269.<P><DD><DL><DT><B>Returns:</B><DD>the port to use for remote servers.</DL></DD></DL><HR><A NAME="setConnectionManagerListenerPort(int)"><!-- --></A><H3>setConnectionManagerListenerPort</H3><PRE>void <B>setConnectionManagerListenerPort</B>(int port)</PRE><DL><DD>Sets the port to use for connection managers. This port is used for connection managers to connect to this server. Default port: 5262.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>port</CODE> - the port to use for connection managers.</DL></DD></DL><HR><A NAME="getConnectionManagerListenerPort()"><!-- --></A><H3>getConnectionManagerListenerPort</H3><PRE>int <B>getConnectionManagerListenerPort</B>()</PRE><DL><DD>Returns the port to use for remote servers. This port is used for connection managers to connect to this server. Default port: 5262.<P><DD><DL><DT><B>Returns:</B><DD>the port to use for connection managers.</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Openfire 3.6.0a Javadoc</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/jivesoftware/openfire/ConnectionCloseListener.html" title="interface in org.jivesoftware.openfire"><B>PREV CLASS</B></A> <A HREF="../../../org/jivesoftware/openfire/FlashCrossDomainHandler.html" title="class in org.jivesoftware.openfire"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/jivesoftware/openfire/ConnectionManager.html" target="_top"><B>FRAMES</B></A> <A HREF="ConnectionManager.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright © 2003-2008 Jive Software.</i></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -