|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.valhalla.jbother.ConnectorThread
Attempts to connect to the server. If the connection is made successfully, it sets up the various packet listeners and displays the BuddyList
Constructor Summary | |
ConnectorThread(org.jivesoftware.smack.packet.Presence.Mode connectMode,
java.lang.String statusString,
boolean away)
Sets up the connector thread |
Method Summary | |
static ConnectionListener |
getConnectionListener()
Returns the ConnectionListener |
void |
run()
Called when the Threads .start() method is called |
static void |
setCancelled(boolean c)
|
static void |
setHasHadError(boolean has)
Sets whether or not a connection error has already been thrown for this connection |
void |
setPersistent(boolean persistent)
Sets whether or not this thread should try to reconnect if there is a connection error |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConnectorThread(org.jivesoftware.smack.packet.Presence.Mode connectMode, java.lang.String statusString, boolean away)
Method Detail |
public static void setCancelled(boolean c)
public void setPersistent(boolean persistent)
public static ConnectionListener getConnectionListener()
public static void setHasHadError(boolean has)
has
- true if an error has already been thrownpublic void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |