mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-11 10:09:38 +02:00
Fixes
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6945 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
035852e6ec
commit
bf6471e76b
4 changed files with 8 additions and 12 deletions
|
@ -124,7 +124,7 @@ public class RosterEntry {
|
|||
|
||||
/**
|
||||
* Returns the roster subscription type of the entry. When the type is
|
||||
* {@link RosterPacket.ItemType#none} or {@link RosterPacket.ItemType#from},
|
||||
* RosterPacket.ItemType.none or RosterPacket.ItemType.from,
|
||||
* refer to {@link RosterEntry getStatus()} to see if a subscription request
|
||||
* is pending.
|
||||
*
|
||||
|
|
|
@ -588,10 +588,6 @@ public class XMPPConnection {
|
|||
* Closes the connection by setting presence to unavailable then closing the stream to
|
||||
* the XMPP server. The XMPPConnection can still be used for connecting to the server
|
||||
* again.
|
||||
*
|
||||
* The difference between disconnect and shutdown is that disconnect makes a complete reset
|
||||
* of the connection state whereas shutdown only cleans the connection and keeps alive
|
||||
* packet reader listeners, previous login and roster presences.
|
||||
*/
|
||||
public void disconnect() {
|
||||
this.shutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue