1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-09 09:09:38 +02:00

Globally s;Stanza(/Packet);Stanza; and more 'packet' → 'stanza'

This commit is contained in:
Florian Schmaus 2018-04-23 21:06:35 +02:00
parent 98109e7b86
commit cc0022c919
32 changed files with 99 additions and 99 deletions

View file

@ -289,7 +289,7 @@ public class MultipleRecipientManager {
}
/**
* Stanza(/Packet) that holds the XML stanza to send. This class is useful when the same packet
* Stanza that holds the XML stanza to send. This class is useful when the same packet
* is needed to be sent to different recipients. Since using the same stanza is not possible
* (i.e. cannot change the TO address of a queues stanza to be sent) then this class was
* created to keep the XML stanza to send.

View file

@ -27,7 +27,7 @@ import org.jivesoftware.smack.util.XmlStringBuilder;
import org.jxmpp.jid.Jid;
/**
* Stanza(/Packet) extension that contains the list of addresses that a stanza should be sent or was sent.
* Stanza extension that contains the list of addresses that a stanza should be sent or was sent.
*
* @author Gaston Dombiak
*/

View file

@ -694,7 +694,7 @@ public final class Socks5BytestreamManager extends Manager implements Bytestream
* Specified in XEP-65 5.3.1 (Example 13)
* </p>
*
* @param packet Stanza(/Packet) that should be answered with a not-acceptable error
* @param packet Stanza that should be answered with a not-acceptable error
* @throws NotConnectedException
* @throws InterruptedException
*/

View file

@ -260,7 +260,7 @@ public class Bytestream extends IQ {
}
/**
* Stanza(/Packet) extension that represents a potential SOCKS5 proxy for the file transfer. Stream hosts
* Stanza extension that represents a potential SOCKS5 proxy for the file transfer. Stream hosts
* are forwarded to the target of the file transfer who then chooses and connects to one.
*
* @author Alexander Wenckus

View file

@ -1024,7 +1024,7 @@ public class MultiUserChat {
/**
* Adds a new {@link StanzaListener} that will be invoked every time a new presence
* is going to be sent by this MultiUserChat to the server. Stanza(/Packet) interceptors may
* is going to be sent by this MultiUserChat to the server. Stanza interceptors may
* add new extensions to the presence that is going to be sent to the MUC service.
*
* @param presenceInterceptor the new stanza interceptor that will intercept presence packets.
@ -1035,7 +1035,7 @@ public class MultiUserChat {
/**
* Removes a {@link StanzaListener} that was being invoked every time a new presence
* was being sent by this MultiUserChat to the server. Stanza(/Packet) interceptors may
* was being sent by this MultiUserChat to the server. Stanza interceptors may
* add new extensions to the presence that is going to be sent to the MUC service.
*
* @param presenceInterceptor the stanza interceptor to remove.

View file

@ -56,7 +56,7 @@ import org.jxmpp.jid.Jid;
* </p>
* <pre>
* deliveryReceiptManager.addReceiptReceivedListener(new ReceiptReceivedListener() {
* void onReceiptReceived(String fromJid, String toJid, String receiptId, Stanza(/Packet) receipt) {
* void onReceiptReceived(String fromJid, String toJid, String receiptId, Stanza receipt) {
* // If the receiving entity does not support delivery receipts,
* // then the receipt received listener may not get invoked.
* }
@ -296,7 +296,7 @@ public final class DeliveryReceiptManager extends Manager {
/**
* Test if a message requires a delivery receipt.
*
* @param message Stanza(/Packet) object to check for a DeliveryReceiptRequest
* @param message Stanza object to check for a DeliveryReceiptRequest
*
* @return true if a delivery receipt was requested
*/

View file

@ -57,7 +57,7 @@ public class ConnectionUtils {
* <code>
* StanzaCollector collector = connection.createStanzaCollector(new PacketFilter());
* connection.sendStanza(packet);
* Stanza(/Packet) reply = collector.nextResult();
* Stanza reply = collector.nextResult();
* </code>
* </pre>
*