|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jabber.jabberbeans.ConnectionAdapter
Convenience implementation of ConnectionListener. This is provided so that the ConnectionListener interface can be upgraded, without breaking backwards compatibility - extend ConnectionAdapter and you will gain do-nothing implementations of ConnectionListener's new events.
ConnectionListener contains descriptions of what these events actually signify.
Constructor Summary | |
ConnectionAdapter()
|
Method Summary | |
void |
connected()
Deprecated. replaced by connectionChanged(ConnectionEvent) ,
will be removed before 1.0 |
void |
connected(ConnectionEvent evt)
Deprecated. replaced by connectionChanged(ConnectionEvent) ,
will be removed before 1.0 |
void |
connectFailed()
Deprecated. replaced by connectionChanged(ConnectionEvent) ,
will be removed before 1.0 |
void |
connectFailed(ConnectionEvent evt)
Deprecated. replaced by connectionChanged(ConnectionEvent) ,
will be removed before 1.0 |
void |
connecting()
Deprecated. replaced by connectionChanged(ConnectionEvent) ,
will be removed before 1.0 |
void |
connecting(ConnectionEvent evt)
Deprecated. replaced by connectionChanged(ConnectionEvent) ,
will be removed before 1.0 |
void |
connectionChanged(ConnectionEvent evt)
connectionChanged is the most recent way to receive
notification of a change in connection state. |
void |
disconnected()
Deprecated. replaced by connectionChanged(ConnectionEvent) ,
will be removed before 1.0 |
void |
disconnected(ConnectionEvent evt)
Deprecated. replaced by connectionChanged(ConnectionEvent) ,
will be removed before 1.0 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConnectionAdapter()
Method Detail |
public void connectionChanged(ConnectionEvent evt)
connectionChanged
is the most recent way to receive
notification of a change in connection state. The implementation
here receives the event and broadcasts to the older deprecated
methods for the time being.
connectionChanged
in interface ConnectionListener
evt
- a ConnectionEvent
valuepublic void connected(ConnectionEvent evt)
connectionChanged(ConnectionEvent)
,
will be removed before 1.0
public void disconnected(ConnectionEvent evt)
connectionChanged(ConnectionEvent)
,
will be removed before 1.0
public void connecting(ConnectionEvent evt)
connectionChanged(ConnectionEvent)
,
will be removed before 1.0
public void connectFailed(ConnectionEvent evt)
connectionChanged(ConnectionEvent)
,
will be removed before 1.0
public void connected()
connectionChanged(ConnectionEvent)
,
will be removed before 1.0
public void disconnected()
connectionChanged(ConnectionEvent)
,
will be removed before 1.0
public void connecting()
connectionChanged(ConnectionEvent)
,
will be removed before 1.0
public void connectFailed()
connectionChanged(ConnectionEvent)
,
will be removed before 1.0
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |