mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 09:39:39 +02:00
SMACK-279: The XMPPConnection extends the new abstract Connection class
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11613 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
11a41e79ca
commit
127319a821
102 changed files with 1420 additions and 1194 deletions
|
@ -45,7 +45,7 @@ import java.util.concurrent.CopyOnWriteArrayList;
|
|||
* </ul>
|
||||
*
|
||||
* @author Matt Tucker
|
||||
* @see XMPPConnection#getRoster()
|
||||
* @see Connection#getRoster()
|
||||
*/
|
||||
public class Roster {
|
||||
|
||||
|
@ -55,7 +55,7 @@ public class Roster {
|
|||
*/
|
||||
private static SubscriptionMode defaultSubscriptionMode = SubscriptionMode.accept_all;
|
||||
|
||||
private XMPPConnection connection;
|
||||
private Connection connection;
|
||||
private final Map<String, RosterGroup> groups;
|
||||
private final Map<String,RosterEntry> entries;
|
||||
private final List<RosterEntry> unfiledEntries;
|
||||
|
@ -97,7 +97,7 @@ public class Roster {
|
|||
*
|
||||
* @param connection an XMPP connection.
|
||||
*/
|
||||
Roster(final XMPPConnection connection) {
|
||||
Roster(final Connection connection) {
|
||||
this.connection = connection;
|
||||
groups = new ConcurrentHashMap<String, RosterGroup>();
|
||||
unfiledEntries = new CopyOnWriteArrayList<RosterEntry>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue