Source code: org/jabber/jabberbeans/ConnectionAdapter.java
1 package org.jabber.jabberbeans;
2
3 /**
4 * Convenience implementation of ConnectionListener. This is provided so that
5 * the ConnectionListener interface can be upgraded, without breaking backwards
6 * compatibility - extend ConnectionAdapter and you will gain do-nothing
7 * implementations of ConnectionListener's new events.
8 *
9 * @see ConnectionListener
10 * @author David Waite <a href="mailto:mass@ufl.edu"><i><mass@ufl.edu>
11 * </i></a>
12 * @author $Author: mass $
13 * @version $Revision: 1.1 $
14 */
15
16 public class ConnectionAdapter
17 implements ConnectionListener
18 {
19 public void connected()
20 {}
21 public void disconnected()
22 {}
23 public void connecting()
24 {}
25 public void connectFailed()
26 {};
27 }