Commit b6523b0d authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Ditching the threads stuff for the moment.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk/src/plugins/gateway@4921 b35dd754-fafc-0310-a699-88a17e54d16e
parent 5529b4a5
......@@ -40,8 +40,8 @@ public class MSNTransport extends BaseTransport {
public TransportSession registrationLoggedIn(Registration registration, JID jid, PresenceType presenceType, String verboseStatus) {
Log.debug("Logging in to MSN gateway.");
TransportSession session = new MSNSession(registration, jid, this);
Thread sessionThread = new Thread(session);
sessionThread.start();
// Thread sessionThread = new Thread(session);
// sessionThread.start();
((MSNSession)session).logIn(presenceType, verboseStatus);
return session;
}
......@@ -54,7 +54,7 @@ public class MSNTransport extends BaseTransport {
public void registrationLoggedOut(TransportSession session) {
Log.debug("Logging out of MSN gateway.");
((MSNSession)session).logOut();
session.sessionDone();
// session.sessionDone();
}
/**
......
......@@ -36,8 +36,8 @@ public class OSCARTransport extends BaseTransport {
*/
public TransportSession registrationLoggedIn(Registration registration, JID jid, PresenceType presenceType, String verboseStatus) {
TransportSession session = new OSCARSession(registration, jid, this);
Thread sessionThread = new Thread(session);
sessionThread.start();
// Thread sessionThread = new Thread(session);
// sessionThread.start();
((OSCARSession)session).logIn(presenceType, verboseStatus);
return session;
}
......@@ -49,7 +49,7 @@ public class OSCARTransport extends BaseTransport {
*/
public void registrationLoggedOut(TransportSession session) {
((OSCARSession)session).logOut();
session.sessionDone();
// session.sessionDone();
}
}
......@@ -40,8 +40,8 @@ public class YahooTransport extends BaseTransport {
public TransportSession registrationLoggedIn(Registration registration, JID jid, PresenceType presenceType, String verboseStatus) {
Log.debug("Logging in to Yahoo gateway.");
TransportSession session = new YahooSession(registration, jid, this);
Thread sessionThread = new Thread(session);
sessionThread.start();
// Thread sessionThread = new Thread(session);
// sessionThread.start();
((YahooSession)session).logIn(presenceType, verboseStatus);
return session;
}
......@@ -54,7 +54,7 @@ public class YahooTransport extends BaseTransport {
public void registrationLoggedOut(TransportSession session) {
Log.debug("Logging out of Yahoo gateway.");
((YahooSession)session).logOut();
session.sessionDone();
// session.sessionDone();
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment