mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-25 15:52:06 +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;
|
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:
|
* the following values:
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>{@link Presence.Type#available available} -- (Default) indicates the user is available to
|
* <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).
|
* {@link Mode#dnd dnd} (do not disturb).
|
||||||
* </ul><p>
|
* </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
|
* the user's current presence status. Second, they are used to subscribe and
|
||||||
* unsubscribe users from the roster.
|
* 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.
|
* Creates a new presence update. Status, priority, and mode are left un-set.
|
||||||
*
|
*
|
||||||
* @param type the type.
|
* @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
|
@Deprecated
|
||||||
// TODO: Remove in Smack 4.5.
|
// TODO: Remove in Smack 4.5.
|
||||||
|
|
Loading…
Reference in a new issue