mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-23 06:42:05 +01:00
Tune documentation
Waiting for an answer is synchronous behaviour, not asynchronous.
This commit is contained in:
parent
4cb799228c
commit
1a2933793c
2 changed files with 4 additions and 4 deletions
|
@ -296,7 +296,7 @@ public class Roster {
|
||||||
/**
|
/**
|
||||||
* Removes a roster entry from the roster. The roster entry will also be removed from the
|
* Removes a roster entry from the roster. The roster entry will also be removed from the
|
||||||
* unfiled entries or from any roster group where it could belong and will no longer be part
|
* unfiled entries or from any roster group where it could belong and will no longer be part
|
||||||
* of the roster. Note that this is an asynchronous call -- Smack must wait for the server
|
* of the roster. Note that this is a synchronous call -- Smack must wait for the server
|
||||||
* to send an updated subscription status.
|
* to send an updated subscription status.
|
||||||
*
|
*
|
||||||
* @param entry a roster entry.
|
* @param entry a roster entry.
|
||||||
|
|
|
@ -154,7 +154,7 @@ public class RosterGroup {
|
||||||
/**
|
/**
|
||||||
* Adds a roster entry to this group. If the entry was unfiled then it will be removed from
|
* Adds a roster entry to this group. If the entry was unfiled then it will be removed from
|
||||||
* the unfiled list and will be added to this group.
|
* the unfiled list and will be added to this group.
|
||||||
* Note that this is an asynchronous call -- Smack must wait for the server
|
* Note that this is a synchronous call -- Smack must wait for the server
|
||||||
* to receive the updated roster.
|
* to receive the updated roster.
|
||||||
*
|
*
|
||||||
* @param entry a roster entry.
|
* @param entry a roster entry.
|
||||||
|
@ -183,11 +183,11 @@ public class RosterGroup {
|
||||||
* Removes a roster entry from this group. If the entry does not belong to any other group
|
* Removes a roster entry from this group. If the entry does not belong to any other group
|
||||||
* then it will be considered as unfiled, therefore it will be added to the list of unfiled
|
* then it will be considered as unfiled, therefore it will be added to the list of unfiled
|
||||||
* entries.
|
* entries.
|
||||||
* Note that this is an asynchronous call -- Smack must wait for the server
|
* Note that this is a synchronous call -- Smack must wait for the server
|
||||||
* to receive the updated roster.
|
* to receive the updated roster.
|
||||||
*
|
*
|
||||||
* @param entry a roster entry.
|
* @param entry a roster entry.
|
||||||
* @throws XMPPException if an error occured while trying to remove the entry from the group.
|
* @throws XMPPException if an error occurred while trying to remove the entry from the group.
|
||||||
*/
|
*/
|
||||||
public void removeEntry(RosterEntry entry) throws XMPPException {
|
public void removeEntry(RosterEntry entry) throws XMPPException {
|
||||||
PacketCollector collector = null;
|
PacketCollector collector = null;
|
||||||
|
|
Loading…
Reference in a new issue