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
|
@ -27,7 +27,7 @@ import java.util.Iterator;
|
|||
import java.util.List;
|
||||
|
||||
import org.jivesoftware.smack.PacketListener;
|
||||
import org.jivesoftware.smack.XMPPConnection;
|
||||
import org.jivesoftware.smack.Connection;
|
||||
import org.jivesoftware.smack.filter.PacketExtensionFilter;
|
||||
import org.jivesoftware.smack.filter.PacketFilter;
|
||||
import org.jivesoftware.smack.packet.Message;
|
||||
|
@ -46,7 +46,7 @@ public class MessageEventManager {
|
|||
private List<MessageEventNotificationListener> messageEventNotificationListeners = new ArrayList<MessageEventNotificationListener>();
|
||||
private List<MessageEventRequestListener> messageEventRequestListeners = new ArrayList<MessageEventRequestListener>();
|
||||
|
||||
private XMPPConnection con;
|
||||
private Connection con;
|
||||
|
||||
private PacketFilter packetFilter = new PacketExtensionFilter("x", "jabber:x:event");
|
||||
private PacketListener packetListener;
|
||||
|
@ -54,9 +54,9 @@ public class MessageEventManager {
|
|||
/**
|
||||
* Creates a new message event manager.
|
||||
*
|
||||
* @param con an XMPPConnection.
|
||||
* @param con a Connection to a XMPP server.
|
||||
*/
|
||||
public MessageEventManager(XMPPConnection con) {
|
||||
public MessageEventManager(Connection con) {
|
||||
this.con = con;
|
||||
init();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue