mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
[core] Replace 'packet' with 'stanza' in Presence's javadoc
This commit is contained in:
parent
962071762a
commit
054fd9ae44
1 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ import org.jivesoftware.smack.util.XmlStringBuilder;
|
|||
import org.jxmpp.jid.Jid;
|
||||
|
||||
/**
|
||||
* Represents XMPP presence packets. Every presence stanza has a type, which is one of
|
||||
* Represents XMPP presence stanzas. Every presence stanza has a type, which is one of
|
||||
* the following values:
|
||||
* <ul>
|
||||
* <li>{@link Presence.Type#available available} -- (Default) indicates the user is available to
|
||||
|
@ -56,7 +56,7 @@ import org.jxmpp.jid.Jid;
|
|||
* {@link Mode#dnd dnd} (do not disturb).
|
||||
* </ul><p>
|
||||
*
|
||||
* Presence packets are used for two purposes. First, to notify the server of
|
||||
* Presence stanzas are used for two purposes. First, to notify the server of
|
||||
* the user's current presence status. Second, they are used to subscribe and
|
||||
* unsubscribe users from the roster.
|
||||
*
|
||||
|
@ -84,7 +84,7 @@ public final class Presence extends MessageOrPresence<PresenceBuilder>
|
|||
* Creates a new presence update. Status, priority, and mode are left un-set.
|
||||
*
|
||||
* @param type the type.
|
||||
* @deprecated use {@link StanzaBuilder} or {@link SocketFactory} instead.
|
||||
* @deprecated use {@link PresenceBuilder} or {@link org.jivesoftware.smack.XMPPConnection#getStanzaFactory} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
// TODO: Remove in Smack 4.5.
|
||||
|
|
Loading…
Reference in a new issue