|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionListener
Interface that allows for implementing classes to listen for connection closing events. Listeners are reigstered with XMPPConnection objects.
XMPPConnection.addConnectionListener(org.jivesoftware.smack.ConnectionListener)
,
XMPPConnection.removeConnectionListener(org.jivesoftware.smack.ConnectionListener)
Method Summary | |
---|---|
void |
connectionClosed()
Notification that the connection was closed normally. |
void |
connectionClosedOnError(Exception e)
Notification that the connection was closed due to an exception. |
Method Detail |
---|
void connectionClosed()
void connectionClosedOnError(Exception e)
e
- the exception.
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |