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

Globally 's;stanza(/packet);stanza;'

This commit is contained in:
Florian Schmaus 2018-03-31 14:17:30 +02:00
parent 1d12be1644
commit ad87243060
171 changed files with 911 additions and 599 deletions

View file

@ -46,7 +46,7 @@ import org.jxmpp.stringprep.XmppStringprepException;
*
* Packets that should be processed by the client to simulate a received stanza
* can be delivered using the {@linkplain #processStanza(Stanza)} method.
* It invokes the registered stanza(/packet) interceptors and listeners.
* It invokes the registered stanza interceptors and listeners.
*
* @see XMPPConnection
* @author Guenther Niess
@ -147,7 +147,7 @@ public class DummyConnection extends AbstractXMPPConnection {
}
/**
* Returns the first stanza(/packet) that's sent through {@link #sendStanza(Stanza)}
* Returns the first stanza that's sent through {@link #sendStanza(Stanza)}
* and that has not been returned by earlier calls to this method.
*
* @return a sent packet.
@ -157,7 +157,7 @@ public class DummyConnection extends AbstractXMPPConnection {
}
/**
* Returns the first stanza(/packet) that's sent through {@link #sendStanza(Stanza)}
* Returns the first stanza that's sent through {@link #sendStanza(Stanza)}
* and that has not been returned by earlier calls to this method. This
* method will block for up to the specified number of seconds if no packets
* have been sent yet.
@ -175,11 +175,11 @@ public class DummyConnection extends AbstractXMPPConnection {
}
/**
* Processes a stanza(/packet) through the installed stanza(/packet) collectors and listeners
* and letting them examine the stanza(/packet) to see if they are a match with the
* Processes a stanza through the installed stanza collectors and listeners
* and letting them examine the stanza to see if they are a match with the
* filter.
*
* @param packet the stanza(/packet) to process.
* @param packet the stanza to process.
*/
@Override
public void processStanza(Stanza packet) {

View file

@ -67,8 +67,8 @@ public class ThreadedDummyConnection extends DummyConnection {
}
/**
* Calling this method will cause the next sendStanza call with an IQ stanza(/packet) to timeout.
* This is accomplished by simply stopping the auto creating of the reply stanza(/packet)
* Calling this method will cause the next sendStanza call with an IQ stanza to timeout.
* This is accomplished by simply stopping the auto creating of the reply stanza
* or processing one that was entered via {@link #processStanza(Stanza)}.
*/
public void setTimeout() {