📄 connectionmanagerimpl.html
字号:
connect to the server.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#isServerListenerEnabled()">isServerListenerEnabled</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html" title="interface in org.jivesoftware.openfire">ConnectionManager</A></CODE></DL></DD><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>public void <B>enableConnectionManagerListener</B>(boolean enabled)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#enableConnectionManagerListener(boolean)">ConnectionManager</A></CODE></B></DD><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>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#enableConnectionManagerListener(boolean)">enableConnectionManagerListener</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html" title="interface in org.jivesoftware.openfire">ConnectionManager</A></CODE></DL></DD><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>public boolean <B>isConnectionManagerListenerEnabled</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#isConnectionManagerListenerEnabled()">ConnectionManager</A></CODE></B></DD><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>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#isConnectionManagerListenerEnabled()">isConnectionManagerListenerEnabled</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html" title="interface in org.jivesoftware.openfire">ConnectionManager</A></CODE></DL></DD><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>public void <B>setClientListenerPort</B>(int port)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#setClientListenerPort(int)">ConnectionManager</A></CODE></B></DD><DD>Sets the port to use for unsecured clients. Default port: 5222.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#setClientListenerPort(int)">setClientListenerPort</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html" title="interface in org.jivesoftware.openfire">ConnectionManager</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>port</CODE> - the port to use for unsecured clients.</DL></DD></DL><HR><A NAME="getSocketAcceptor()"><!-- --></A><H3>getSocketAcceptor</H3><PRE>public org.apache.mina.transport.socket.nio.SocketAcceptor <B>getSocketAcceptor</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getClientListenerPort()"><!-- --></A><H3>getClientListenerPort</H3><PRE>public int <B>getClientListenerPort</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#getClientListenerPort()">ConnectionManager</A></CODE></B></DD><DD>Returns the port to use for unsecured clients. Default port: 5222.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#getClientListenerPort()">getClientListenerPort</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html" title="interface in org.jivesoftware.openfire">ConnectionManager</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the port to use for unsecured clients.</DL></DD></DL><HR><A NAME="getSSLSocketAcceptor()"><!-- --></A><H3>getSSLSocketAcceptor</H3><PRE>public org.apache.mina.transport.socket.nio.SocketAcceptor <B>getSSLSocketAcceptor</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setClientSSLListenerPort(int)"><!-- --></A><H3>setClientSSLListenerPort</H3><PRE>public void <B>setClientSSLListenerPort</B>(int port)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#setClientSSLListenerPort(int)">ConnectionManager</A></CODE></B></DD><DD>Sets the port to use for secured clients. Default port: 5223.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#setClientSSLListenerPort(int)">setClientSSLListenerPort</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html" title="interface in org.jivesoftware.openfire">ConnectionManager</A></CODE></DL></DD><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>public int <B>getClientSSLListenerPort</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#getClientSSLListenerPort()">ConnectionManager</A></CODE></B></DD><DD>Returns the port to use for secured clients. Default port: 5223.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#getClientSSLListenerPort()">getClientSSLListenerPort</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html" title="interface in org.jivesoftware.openfire">ConnectionManager</A></CODE></DL></DD><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>public void <B>setComponentListenerPort</B>(int port)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#setComponentListenerPort(int)">ConnectionManager</A></CODE></B></DD><DD>Sets the port to use for external components.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#setComponentListenerPort(int)">setComponentListenerPort</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html" title="interface in org.jivesoftware.openfire">ConnectionManager</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>port</CODE> - the port to use for external components.</DL></DD></DL><HR><A NAME="getComponentAcceptor()"><!-- --></A><H3>getComponentAcceptor</H3><PRE>public org.apache.mina.transport.socket.nio.SocketAcceptor <B>getComponentAcceptor</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getComponentListenerPort()"><!-- --></A><H3>getComponentListenerPort</H3><PRE>public int <B>getComponentListenerPort</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#getComponentListenerPort()">ConnectionManager</A></CODE></B></DD><DD>Returns the port to use for external components.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#getComponentListenerPort()">getComponentListenerPort</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html" title="interface in org.jivesoftware.openfire">ConnectionManager</A></CODE></DL></DD><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>public void <B>setServerListenerPort</B>(int port)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#setServerListenerPort(int)">ConnectionManager</A></CODE></B></DD><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>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#setServerListenerPort(int)">setServerListenerPort</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html" title="interface in org.jivesoftware.openfire">ConnectionManager</A></CODE></DL></DD><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>public int <B>getServerListenerPort</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html#getServerListenerPort()">ConnectionManager</A></CODE></B></DD><DD>Returns the port to use for remote servers. This port is used for remote servers to connect to this server. Default port: 5269.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -