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:
parent
c86d6e3b61
commit
ab70cfec24
31 changed files with 120 additions and 120 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue