1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 12:02:05 +01:00

javadoc: s/packet/stanza/

This commit is contained in:
Florian Schmaus 2015-03-24 14:09:42 +01:00
parent 164b7c6690
commit 9ac3633612
7 changed files with 11 additions and 11 deletions

View file

@ -302,7 +302,7 @@ public class PacketCollector {
* Set the stanza filter used by this collector. If <code>null</code>, then all stanzas will
* get collected by this collector.
*
* @param packetFilter
* @param stanzaFilter
* @return a reference to this configuration.
*/
public Configuration setStanzaFilter(StanzaFilter stanzaFilter) {

View file

@ -166,7 +166,7 @@ public interface XMPPConnection {
/**
* Sends the specified stanza to the server.
*
* @param packet the stanza to send.
* @param stanza the stanza to send.
* @throws NotConnectedException if the connection is not connected.
*/
public void sendStanza(Stanza stanza) throws NotConnectedException;
@ -468,7 +468,7 @@ public interface XMPPConnection {
* has been elapsed.
* </p>
*
* @param packet the stanza to send (required)
* @param stanza the stanza to send (required)
* @param replyFilter the filter used to determine response stanza (required)
* @param callback the callback invoked if there is a response (required)
* @throws NotConnectedException
@ -484,7 +484,7 @@ public interface XMPPConnection {
* with a {@link SmackException.NoResponseException}. The callback will be invoked at most once.
* </p>
*
* @param packet the stanza to send (required)
* @param stanza the stanza to send (required)
* @param replyFilter the filter used to determine response stanza (required)
* @param callback the callback invoked if there is a response (required)
* @param exceptionCallback the callback invoked if there is an exception (optional)
@ -501,7 +501,7 @@ public interface XMPPConnection {
* with a {@link SmackException.NoResponseException}. The callback will be invoked at most once.
* </p>
*
* @param packet the stanza to send (required)
* @param stanza the stanza to send (required)
* @param replyFilter the filter used to determine response stanza (required)
* @param callback the callback invoked if there is a response (required)
* @param exceptionCallback the callback invoked if there is an exception (optional)

View file

@ -51,7 +51,7 @@ public interface StanzaFilter {
/**
* Tests whether or not the specified stanza should pass the filter.
*
* @param packet the stanza(/packet) to test.
* @param stanza the stanza(/packet) to test.
* @return true if and only if <tt>stanza</tt> passes the filter.
*/
public boolean accept(Stanza stanza);

View file

@ -32,7 +32,7 @@ public class StanzaIdFilter implements StanzaFilter {
/**
* Creates a new stanza ID filter using the specified stanza's ID.
*
* @param packet the stanza which the ID is taken from.
* @param stanza the stanza which the ID is taken from.
*/
public StanzaIdFilter(Stanza stanza) {
this(stanza.getStanzaId());
@ -41,7 +41,7 @@ public class StanzaIdFilter implements StanzaFilter {
/**
* Creates a new stanza ID filter using the specified stanza ID.
*
* @param packetID the stanza ID to filter for.
* @param stanzaID the stanza ID to filter for.
*/
public StanzaIdFilter(String stanzaID) {
this.stanzaId = StringUtils.requireNotNullOrEmpty(stanzaID, "Stanza ID must not be null or empty.");

View file

@ -37,7 +37,7 @@ public abstract class ParsingExceptionCallback {
/**
* Called when parsing an message stanza caused an exception.
*
* @param packetData
* @param stanzaData
* the raw message stanza data that caused the exception
* @throws Exception
*/

View file

@ -377,7 +377,7 @@ public class InBandBytestreamManager implements BytestreamManager {
* The use of {@link StanzaType#IQ} is recommended. See <a
* href="http://xmpp.org/extensions/xep-0047.html#message">XEP-0047</a> Section 4.
*
* @param packet the stanza to set
* @param stanza the stanza to set
*/
public void setStanza(StanzaType stanza) {
this.stanza = stanza;

View file

@ -51,7 +51,7 @@ public class Open extends IQ {
*
* @param sessionID unique session ID identifying this In-Band Bytestream
* @param blockSize block size in which the data will be fragmented
* @param packet stanza type used to encapsulate the data
* @param stanza stanza type used to encapsulate the data
*/
public Open(String sessionID, int blockSize, StanzaType stanza) {
super(ELEMENT, NAMESPACE);