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

📄 multiplerecipientmanager.html

📁 开源项目smack的API文件
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR></TABLE>&nbsp;<P><!-- ========= 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="MultipleRecipientManager()"><!-- --></A><H3>MultipleRecipientManager</H3><PRE>public <B>MultipleRecipientManager</B>()</PRE><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="send(org.jivesoftware.smack.XMPPConnection, org.jivesoftware.smack.packet.Packet, java.util.List, java.util.List, java.util.List)"><!-- --></A><H3>send</H3><PRE>public static void <B>send</B>(<A HREF="../../../org/jivesoftware/smack/XMPPConnection.html" title="class in org.jivesoftware.smack">XMPPConnection</A>&nbsp;connection,                        <A HREF="../../../org/jivesoftware/smack/packet/Packet.html" title="class in org.jivesoftware.smack.packet">Packet</A>&nbsp;packet,                        <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&nbsp;to,                        <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&nbsp;cc,                        <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&nbsp;bcc)                 throws <A HREF="../../../org/jivesoftware/smack/XMPPException.html" title="class in org.jivesoftware.smack">XMPPException</A></PRE><DL><DD>Sends the specified packet to the list of specified recipients using the specified connection. If the server has support for JEP-33 then only one packet is going to be sent to the server with the multiple recipient instructions. However, if JEP-33 is not supported by the server then the client is going to send the packet to each recipient.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>connection</CODE> - the connection to use to send the packet.<DD><CODE>packet</CODE> - the packet to send to the list of recipients.<DD><CODE>to</CODE> - the list of JIDs to include in the TO list or <tt>null</tt> if no TO                   list exists.<DD><CODE>cc</CODE> - the list of JIDs to include in the CC list or <tt>null</tt> if no CC                   list exists.<DD><CODE>bcc</CODE> - the list of JIDs to include in the BCC list or <tt>null</tt> if no BCC                   list exists.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/jivesoftware/smack/XMPPException.html" title="class in org.jivesoftware.smack">XMPPException</A></CODE> - if server does not support JEP-33: Extended Stanza Addressing and                       some JEP-33 specific features were requested.</DL></DD></DL><HR><A NAME="send(org.jivesoftware.smack.XMPPConnection, org.jivesoftware.smack.packet.Packet, java.util.List, java.util.List, java.util.List, java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>send</H3><PRE>public static void <B>send</B>(<A HREF="../../../org/jivesoftware/smack/XMPPConnection.html" title="class in org.jivesoftware.smack">XMPPConnection</A>&nbsp;connection,                        <A HREF="../../../org/jivesoftware/smack/packet/Packet.html" title="class in org.jivesoftware.smack.packet">Packet</A>&nbsp;packet,                        <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&nbsp;to,                        <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&nbsp;cc,                        <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&nbsp;bcc,                        <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;replyTo,                        <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;replyRoom,                        boolean&nbsp;noReply)                 throws <A HREF="../../../org/jivesoftware/smack/XMPPException.html" title="class in org.jivesoftware.smack">XMPPException</A></PRE><DL><DD>Sends the specified packet to the list of specified recipients using the specified connection. If the server has support for JEP-33 then only one packet is going to be sent to the server with the multiple recipient instructions. However, if JEP-33 is not supported by the server then the client is going to send the packet to each recipient.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>connection</CODE> - the connection to use to send the packet.<DD><CODE>packet</CODE> - the packet to send to the list of recipients.<DD><CODE>to</CODE> - the list of JIDs to include in the TO list or <tt>null</tt> if no TO                   list exists.<DD><CODE>cc</CODE> - the list of JIDs to include in the CC list or <tt>null</tt> if no CC                   list exists.<DD><CODE>bcc</CODE> - the list of JIDs to include in the BCC list or <tt>null</tt> if no BCC                   list exists.<DD><CODE>replyTo</CODE> - address to which all replies are requested to be sent or <tt>null</tt>                   indicating that they can reply to any address.<DD><CODE>replyRoom</CODE> - JID of a MUC room to which responses should be sent or <tt>null</tt>                   indicating that they can reply to any address.<DD><CODE>noReply</CODE> - true means that receivers should not reply to the message.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/jivesoftware/smack/XMPPException.html" title="class in org.jivesoftware.smack">XMPPException</A></CODE> - if server does not support JEP-33: Extended Stanza Addressing and                       some JEP-33 specific features were requested.</DL></DD></DL><HR><A NAME="reply(org.jivesoftware.smack.XMPPConnection, org.jivesoftware.smack.packet.Message, org.jivesoftware.smack.packet.Message)"><!-- --></A><H3>reply</H3><PRE>public static void <B>reply</B>(<A HREF="../../../org/jivesoftware/smack/XMPPConnection.html" title="class in org.jivesoftware.smack">XMPPConnection</A>&nbsp;connection,                         <A HREF="../../../org/jivesoftware/smack/packet/Message.html" title="class in org.jivesoftware.smack.packet">Message</A>&nbsp;original,                         <A HREF="../../../org/jivesoftware/smack/packet/Message.html" title="class in org.jivesoftware.smack.packet">Message</A>&nbsp;reply)                  throws <A HREF="../../../org/jivesoftware/smack/XMPPException.html" title="class in org.jivesoftware.smack">XMPPException</A></PRE><DL><DD>Sends a reply to a previously received packet that was sent to multiple recipients. Before attempting to send the reply message some checkings are performed. If any of those checkings fail then an XMPPException is going to be thrown with the specific error detail.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>connection</CODE> - the connection to use to send the reply.<DD><CODE>original</CODE> - the previously received packet that was sent to multiple recipients.<DD><CODE>reply</CODE> - the new message to send as a reply.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/jivesoftware/smack/XMPPException.html" title="class in org.jivesoftware.smack">XMPPException</A></CODE> - if the original message was not sent to multiple recipients, or the                       original message cannot be replied or reply should be sent to a room.</DL></DD></DL><HR><A NAME="getMultipleRecipientInfo(org.jivesoftware.smack.packet.Packet)"><!-- --></A><H3>getMultipleRecipientInfo</H3><PRE>public static <A HREF="../../../org/jivesoftware/smackx/MultipleRecipientInfo.html" title="class in org.jivesoftware.smackx">MultipleRecipientInfo</A> <B>getMultipleRecipientInfo</B>(<A HREF="../../../org/jivesoftware/smack/packet/Packet.html" title="class in org.jivesoftware.smack.packet">Packet</A>&nbsp;packet)</PRE><DL><DD>Returns the <A HREF="../../../org/jivesoftware/smackx/MultipleRecipientInfo.html" title="class in org.jivesoftware.smackx"><CODE>MultipleRecipientInfo</CODE></A> contained in the specified packet or <tt>null</tt> if none was found. Only packets sent to multiple recipients will contain such information.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>packet</CODE> - the packet to check.<DT><B>Returns:</B><DD>the MultipleRecipientInfo contained in the specified packet or <tt>null</tt>         if none was found.</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/smackx/MultipleRecipientInfo.html" title="class in org.jivesoftware.smackx"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/jivesoftware/smackx/NodeInformationProvider.html" title="interface in org.jivesoftware.smackx"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?org/jivesoftware/smackx/MultipleRecipientManager.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="MultipleRecipientManager.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;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 + -