mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 09:09:38 +02:00
Merge branch '4.1'
Conflicts: smack-core/src/main/java/org/jivesoftware/smack/StanzaListener.java smack-core/src/main/java/org/jivesoftware/smack/XMPPConnection.java smack-core/src/main/java/org/jivesoftware/smack/packet/Stanza.java smack-core/src/main/java/org/jivesoftware/smack/util/PacketParserUtils.java version.gradle
This commit is contained in:
commit
83b84c5bd3
168 changed files with 780 additions and 687 deletions
|
@ -38,7 +38,7 @@ import org.jivesoftware.smackx.carbons.packet.CarbonExtension.Private;
|
|||
import org.jivesoftware.smackx.disco.ServiceDiscoveryManager;
|
||||
|
||||
/**
|
||||
* Packet extension for XEP-0280: Message Carbons. This class implements
|
||||
* Stanza(/Packet) extension for XEP-0280: Message Carbons. This class implements
|
||||
* the manager for registering {@link CarbonExtension} support, enabling and disabling
|
||||
* message carbons.
|
||||
*
|
||||
|
|
|
@ -22,12 +22,12 @@ import org.jivesoftware.smack.util.XmlStringBuilder;
|
|||
import org.jivesoftware.smackx.forward.packet.Forwarded;
|
||||
|
||||
/**
|
||||
* Packet extension for XEP-0280: Message Carbons. The extension
|
||||
* Stanza(/Packet) extension for XEP-0280: Message Carbons. The extension
|
||||
* <a href="http://xmpp.org/extensions/xep-0280.html">XEP-0280</a> is
|
||||
* meant to synchronize a message flow to multiple presences of a user.
|
||||
*
|
||||
* <p>
|
||||
* It accomplishes this by wrapping a {@link Forwarded} packet in a <b>sent</b>
|
||||
* It accomplishes this by wrapping a {@link Forwarded} stanza(/packet) in a <b>sent</b>
|
||||
* or <b>received</b> element
|
||||
*
|
||||
* @author Georg Lukas
|
||||
|
@ -128,7 +128,7 @@ public class CarbonExtension implements ExtensionElement {
|
|||
}
|
||||
|
||||
/**
|
||||
* Packet extension indicating that a message may not be carbon-copied. Adding this
|
||||
* Stanza(/Packet) extension indicating that a message may not be carbon-copied. Adding this
|
||||
* extension to any message will disallow that message from being copied.
|
||||
*/
|
||||
public static class Private implements ExtensionElement {
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
|
||||
/**
|
||||
* This class implements the {@link ExtensionElementProvider} to parse
|
||||
* carbon copied messages from a packet. It will return a {@link CarbonExtension} packet extension.
|
||||
* carbon copied messages from a packet. It will return a {@link CarbonExtension} stanza(/packet) extension.
|
||||
*
|
||||
* @author Georg Lukas
|
||||
*
|
||||
|
|
|
@ -48,10 +48,10 @@ public class GcmPacketExtension extends AbstractJsonPacketExtension {
|
|||
}
|
||||
|
||||
/**
|
||||
* Retrieve the GCM packet extension from the packet.
|
||||
* Retrieve the GCM stanza(/packet) extension from the packet.
|
||||
*
|
||||
* @param packet
|
||||
* @return the GCM packet extension or null.
|
||||
* @return the GCM stanza(/packet) extension or null.
|
||||
*/
|
||||
public static GcmPacketExtension from(Stanza packet) {
|
||||
return packet.getExtension(ELEMENT, NAMESPACE);
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.jivesoftware.smack.packet.ExtensionElement;
|
|||
import org.jivesoftware.smackx.hoxt.HOXTManager;
|
||||
|
||||
/**
|
||||
* Packet extension for base64 binary chunks.<p>
|
||||
* Stanza(/Packet) extension for base64 binary chunks.<p>
|
||||
* This class is immutable.
|
||||
*
|
||||
* @author Andriy Tsykholyas
|
||||
|
|
|
@ -28,7 +28,7 @@ import org.xmlpull.v1.XmlPullParserException;
|
|||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* Abstract parent for Req and Resp packet providers.
|
||||
* Abstract parent for Req and Resp stanza(/packet) providers.
|
||||
*
|
||||
* @author Andriy Tsykholyas
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0332.html">XEP-0332: HTTP over XMPP transport</a>
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
import org.xmlpull.v1.XmlPullParserException;
|
||||
|
||||
/**
|
||||
* Packet provider for base64 binary chunks.
|
||||
* Stanza(/Packet) provider for base64 binary chunks.
|
||||
*
|
||||
* @author Andriy Tsykholyas
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0332.html">XEP-0332: HTTP over XMPP transport</a>
|
||||
|
|
|
@ -21,7 +21,7 @@ import org.jivesoftware.smackx.hoxt.packet.HttpOverXmppReq;
|
|||
import org.xmlpull.v1.XmlPullParser;
|
||||
|
||||
/**
|
||||
* Req packet provider.
|
||||
* Req stanza(/packet) provider.
|
||||
*
|
||||
* @author Andriy Tsykholyas
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0332.html">XEP-0332: HTTP over XMPP transport</a>
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.jivesoftware.smackx.hoxt.packet.HttpOverXmppResp;
|
|||
import org.xmlpull.v1.XmlPullParser;
|
||||
|
||||
/**
|
||||
* Resp packet provider.
|
||||
* Resp stanza(/packet) provider.
|
||||
*
|
||||
* @author Andriy Tsykholyas
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0332.html">XEP-0332: HTTP over XMPP transport</a>
|
||||
|
|
|
@ -43,10 +43,10 @@ public class JsonPacketExtension extends AbstractJsonPacketExtension {
|
|||
}
|
||||
|
||||
/**
|
||||
* Retrieve the JSON packet extension from the packet.
|
||||
* Retrieve the JSON stanza(/packet) extension from the packet.
|
||||
*
|
||||
* @param packet
|
||||
* @return the JSON packet extension or null.
|
||||
* @return the JSON stanza(/packet) extension or null.
|
||||
*/
|
||||
public static JsonPacketExtension from(Stanza packet) {
|
||||
return packet.getExtension(ELEMENT, NAMESPACE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue