1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-12-10 04:51:08 +01:00

Refactoring: All connection classes begin with XMPP now

This commit renames classes as follows:
 * TCPConnection --> XMPPTCPConnection
 * BOSHConnection --> XMPPBOSHConnection

There are two reasons for this rename. First, it is there to indicate
that the classes actually _are_ XMPP connections, using different
transport mechanisms. Second, it makes auto-completion in IDEs easier,
the developer can type XMPP<complete> and choose the right backend.
This commit is contained in:
Georg Lukas 2014-04-09 12:16:44 +02:00 committed by Florian Schmaus
parent c86d6e3b61
commit ab70cfec24
31 changed files with 120 additions and 120 deletions

View file

@ -51,13 +51,13 @@ class PacketReader {
private Thread readerThread;
private TCPConnection connection;
private XMPPTCPConnection connection;
private XmlPullParser parser;
volatile boolean done;
private String connectionID = null;
protected PacketReader(final TCPConnection connection) {
protected PacketReader(final XMPPTCPConnection connection) {
this.connection = connection;
this.init();
}