public class ReconnectPanelIcon
extends java.lang.Object
implements org.jivesoftware.smack.ConnectionListener
Constructor and Description |
---|
ReconnectPanelIcon()
creates a new Panel
|
Modifier and Type | Method and Description |
---|---|
void |
authenticated(org.jivesoftware.smack.XMPPConnection xmppConnection,
boolean b) |
void |
connected(org.jivesoftware.smack.XMPPConnection xmppConnection) |
void |
connectionClosed() |
void |
connectionClosedOnError(java.lang.Exception e) |
javax.swing.JButton |
getButton() |
javax.swing.JPanel |
getPanel() |
void |
reconnectingIn(int seconds) |
void |
reconnectionFailed(java.lang.Exception e) |
void |
reconnectionSuccessful() |
void |
remove() |
void |
setClosedOnError(boolean onError) |
void |
setReconnectText(java.lang.String text) |
void |
startReconnecting()
Starts the Timer for Icon-reconnection
|
public javax.swing.JPanel getPanel()
public javax.swing.JButton getButton()
public void startReconnecting()
public void setClosedOnError(boolean onError)
public void setReconnectText(java.lang.String text)
public void remove()
public void connected(org.jivesoftware.smack.XMPPConnection xmppConnection)
connected
in interface org.jivesoftware.smack.ConnectionListener
public void authenticated(org.jivesoftware.smack.XMPPConnection xmppConnection, boolean b)
authenticated
in interface org.jivesoftware.smack.ConnectionListener
public void connectionClosed()
connectionClosed
in interface org.jivesoftware.smack.ConnectionListener
public void connectionClosedOnError(java.lang.Exception e)
connectionClosedOnError
in interface org.jivesoftware.smack.ConnectionListener
public void reconnectingIn(int seconds)
reconnectingIn
in interface org.jivesoftware.smack.ConnectionListener
public void reconnectionSuccessful()
reconnectionSuccessful
in interface org.jivesoftware.smack.ConnectionListener
public void reconnectionFailed(java.lang.Exception e)
reconnectionFailed
in interface org.jivesoftware.smack.ConnectionListener