aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/xmpp/s2s/ConnectionOut.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-02-01 22:17:33 +0300
committerGravatar Vitaly Takmazov2016-02-01 22:17:33 +0300
commitc8d875bfcf1b040881e9c18282905a1ff805eb0c (patch)
treef99b8b119090de4cca12110a30ac98481d01c6dc /src/main/java/com/juick/xmpp/s2s/ConnectionOut.java
parenta725625b958eb13bea7ff2337dde519deff21845 (diff)
refactoring
Diffstat (limited to 'src/main/java/com/juick/xmpp/s2s/ConnectionOut.java')
-rw-r--r--src/main/java/com/juick/xmpp/s2s/ConnectionOut.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/com/juick/xmpp/s2s/ConnectionOut.java b/src/main/java/com/juick/xmpp/s2s/ConnectionOut.java
index c18ae342..c4334fed 100644
--- a/src/main/java/com/juick/xmpp/s2s/ConnectionOut.java
+++ b/src/main/java/com/juick/xmpp/s2s/ConnectionOut.java
@@ -18,7 +18,7 @@ import org.xmlpull.v1.XmlPullParserException;
*
* @author ugnich
*/
-public class ConnectionOut extends Connection implements Runnable {
+public class ConnectionOut extends Connection {
public boolean streamReady = false;
public String to;
@@ -37,8 +37,7 @@ public class ConnectionOut extends Connection implements Runnable {
this.dbKey = dbKey;
}
- @Override
- public void run() {
+ public void parseStream() {
LOGGER.info("STREAM TO " + to + " START");
try {