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

📄 connectionconfiguration.html

📁 开源项目smack的API文件
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<A NAME="isNotMatchingDomainCheckEnabled()"><!-- --></A><H3>isNotMatchingDomainCheckEnabled</H3><PRE>public boolean <B>isNotMatchingDomainCheckEnabled</B>()</PRE><DL><DD>Returns true if certificates presented by the server are going to be checked for their domain. By default certificates are not verified.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if certificates presented by the server are going to be checked for their         domain.</DL></DD></DL><HR><A NAME="setNotMatchingDomainCheckEnabled(boolean)"><!-- --></A><H3>setNotMatchingDomainCheckEnabled</H3><PRE>public void <B>setNotMatchingDomainCheckEnabled</B>(boolean&nbsp;notMatchingDomainCheckEnabled)</PRE><DL><DD>Sets if certificates presented by the server are going to be checked for their domain. By default certificates are not verified.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>notMatchingDomainCheckEnabled</CODE> - if certificates presented by the server are going        to be checked for their domain.</DL></DD></DL><HR><A NAME="isCompressionEnabled()"><!-- --></A><H3>isCompressionEnabled</H3><PRE>public boolean <B>isCompressionEnabled</B>()</PRE><DL><DD>Returns true if the connection is going to use stream compression. Stream compression will be requested after TLS was established (if TLS was enabled) and only if the server offered stream compression. With stream compression network traffic can be reduced up to 90%. By default compression is disabled.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the connection is going to use stream compression.</DL></DD></DL><HR><A NAME="setCompressionEnabled(boolean)"><!-- --></A><H3>setCompressionEnabled</H3><PRE>public void <B>setCompressionEnabled</B>(boolean&nbsp;compressionEnabled)</PRE><DL><DD>Sets if the connection is going to use stream compression. Stream compression will be requested after TLS was established (if TLS was enabled) and only if the server offered stream compression. With stream compression network traffic can be reduced up to 90%. By default compression is disabled.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>compressionEnabled</CODE> - if the connection is going to use stream compression.</DL></DD></DL><HR><A NAME="isSASLAuthenticationEnabled()"><!-- --></A><H3>isSASLAuthenticationEnabled</H3><PRE>public boolean <B>isSASLAuthenticationEnabled</B>()</PRE><DL><DD>Returns true if the client is going to use SASL authentication when logging into the server. If SASL authenticatin fails then the client will try to use non-sasl authentication. By default SASL is enabled.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the client is going to use SASL authentication when logging into the         server.</DL></DD></DL><HR><A NAME="setSASLAuthenticationEnabled(boolean)"><!-- --></A><H3>setSASLAuthenticationEnabled</H3><PRE>public void <B>setSASLAuthenticationEnabled</B>(boolean&nbsp;saslAuthenticationEnabled)</PRE><DL><DD>Sets whether the client will use SASL authentication when logging into the server. If SASL authenticatin fails then the client will try to use non-sasl authentication. By default, SASL is enabled.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>saslAuthenticationEnabled</CODE> - if the client is going to use SASL authentication when        logging into the server.</DL></DD></DL><HR><A NAME="isDebuggerEnabled()"><!-- --></A><H3>isDebuggerEnabled</H3><PRE>public boolean <B>isDebuggerEnabled</B>()</PRE><DL><DD>Returns true if the new connection about to be establish is going to be debugged. By default the value of <A HREF="../../../org/jivesoftware/smack/XMPPConnection.html#DEBUG_ENABLED"><CODE>XMPPConnection.DEBUG_ENABLED</CODE></A> is used.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the new connection about to be establish is going to be debugged.</DL></DD></DL><HR><A NAME="setDebuggerEnabled(boolean)"><!-- --></A><H3>setDebuggerEnabled</H3><PRE>public void <B>setDebuggerEnabled</B>(boolean&nbsp;debuggerEnabled)</PRE><DL><DD>Sets if the new connection about to be establish is going to be debugged. By default the value of <A HREF="../../../org/jivesoftware/smack/XMPPConnection.html#DEBUG_ENABLED"><CODE>XMPPConnection.DEBUG_ENABLED</CODE></A> is used.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>debuggerEnabled</CODE> - if the new connection about to be establish is going to be debugged.</DL></DD></DL><HR><A NAME="setReconnectionAllowed(boolean)"><!-- --></A><H3>setReconnectionAllowed</H3><PRE>public void <B>setReconnectionAllowed</B>(boolean&nbsp;isAllowed)</PRE><DL><DD>Sets if the reconnection mechanism is allowed to be used. By default reconnection is allowed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>isAllowed</CODE> - if the reconnection mechanism is allowed to use.</DL></DD></DL><HR><A NAME="isReconnectionAllowed()"><!-- --></A><H3>isReconnectionAllowed</H3><PRE>public boolean <B>isReconnectionAllowed</B>()</PRE><DL><DD>Returns if the reconnection mechanism is allowed to be used. By default reconnection is allowed.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>if the reconnection mechanism is allowed to be used.</DL></DD></DL><HR><A NAME="setSocketFactory(javax.net.SocketFactory)"><!-- --></A><H3>setSocketFactory</H3><PRE>public void <B>setSocketFactory</B>(javax.net.SocketFactory&nbsp;socketFactory)</PRE><DL><DD>Sets the socket factory used to create new xmppConnection sockets. This is useful when connecting through SOCKS5 proxies.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>socketFactory</CODE> - used to create new sockets.</DL></DD></DL><HR><A NAME="getSocketFactory()"><!-- --></A><H3>getSocketFactory</H3><PRE>public javax.net.SocketFactory <B>getSocketFactory</B>()</PRE><DL><DD>Returns the socket factory used to create new xmppConnection sockets. This is useful when connecting through SOCKS5 proxies.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>socketFactory used to create new sockets.</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="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><b>Smack</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../org/jivesoftware/smack/ChatManagerListener.html" title="interface in org.jivesoftware.smack"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/jivesoftware/smack/ConnectionConfiguration.SecurityMode.html" title="enum in org.jivesoftware.smack"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?org/jivesoftware/smack/ConnectionConfiguration.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ConnectionConfiguration.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;<A HREF="#nested_class_summary">NESTED</A>&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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright &copy; 2003-2007 Jive Software. </i></BODY></HTML>

⌨️ 快捷键说明

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