mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-15 15:31:08 +01:00
Globally 's;stanza(/packet);stanza;'
This commit is contained in:
parent
1d12be1644
commit
ad87243060
171 changed files with 911 additions and 599 deletions
|
|
@ -59,7 +59,7 @@ import org.jxmpp.jid.Jid;
|
|||
* </ol>
|
||||
*
|
||||
* For example to get the idle time of a user logged in a resource, simple send
|
||||
* the LastActivity stanza(/packet) to them, as in the following code:
|
||||
* the LastActivity stanza to them, as in the following code:
|
||||
*
|
||||
* <pre>
|
||||
* XMPPConnection con = new XMPPTCPConnection("jabber.org");
|
||||
|
|
@ -74,7 +74,7 @@ import org.jxmpp.jid.Jid;
|
|||
* LastActivity activity = LastActivity.getLastActivity(con, "xray@jabber.org");
|
||||
* </pre>
|
||||
*
|
||||
* To get the uptime of a host, you simple send the LastActivity stanza(/packet) to it,
|
||||
* To get the uptime of a host, you simple send the LastActivity stanza to it,
|
||||
* as in the following code example:
|
||||
* <p>
|
||||
*
|
||||
|
|
@ -228,7 +228,7 @@ public final class LastActivityManager extends Manager {
|
|||
*
|
||||
* @param jid
|
||||
* the JID of the user.
|
||||
* @return the LastActivity stanza(/packet) of the jid.
|
||||
* @return the LastActivity stanza of the jid.
|
||||
* @throws XMPPErrorException
|
||||
* thrown if a server error has occured.
|
||||
* @throws NoResponseException if there was no response from the server.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue