mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 09:39:39 +02:00
Substitute 'packet' with 'stanza(/packet)' in javadoc
This commit is contained in:
parent
0ca4e8b72a
commit
5e86db4f80
168 changed files with 650 additions and 650 deletions
|
@ -39,7 +39,7 @@ import org.jivesoftware.smack.packet.TopLevelStreamElement;
|
|||
*
|
||||
* Packets that should be processed by the client to simulate a received stanza
|
||||
* can be delivered using the {@linkplain #processPacket(Stanza)} method.
|
||||
* It invokes the registered packet interceptors and listeners.
|
||||
* It invokes the registered stanza(/packet) interceptors and listeners.
|
||||
*
|
||||
* @see XMPPConnection
|
||||
* @author Guenther Niess
|
||||
|
@ -150,7 +150,7 @@ public class DummyConnection extends AbstractXMPPConnection {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns the first packet that's sent through {@link #sendStanza(Stanza)}
|
||||
* Returns the first stanza(/packet) that's sent through {@link #sendStanza(Stanza)}
|
||||
* and that has not been returned by earlier calls to this method.
|
||||
*
|
||||
* @return a sent packet.
|
||||
|
@ -160,7 +160,7 @@ public class DummyConnection extends AbstractXMPPConnection {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns the first packet that's sent through {@link #sendStanza(Stanza)}
|
||||
* Returns the first stanza(/packet) 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.
|
||||
|
@ -178,11 +178,11 @@ public class DummyConnection extends AbstractXMPPConnection {
|
|||
}
|
||||
|
||||
/**
|
||||
* Processes a packet through the installed packet collectors and listeners
|
||||
* and letting them examine the packet to see if they are a match with the
|
||||
* 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
|
||||
* filter.
|
||||
*
|
||||
* @param packet the packet to process.
|
||||
* @param packet the stanza(/packet) to process.
|
||||
*/
|
||||
public void processPacket(Stanza packet) {
|
||||
if (SmackConfiguration.DEBUG) {
|
||||
|
|
|
@ -62,8 +62,8 @@ public class ThreadedDummyConnection extends DummyConnection {
|
|||
}
|
||||
|
||||
/**
|
||||
* Calling this method will cause the next sendStanza call with an IQ packet to timeout.
|
||||
* This is accomplished by simply stopping the auto creating of the reply packet
|
||||
* 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)
|
||||
* or processing one that was entered via {@link #processPacket(Stanza)}.
|
||||
*/
|
||||
public void setTimeout() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue