01: package net.sourceforge.squirrel_sql.client.session.event;
02:
03: import net.sourceforge.squirrel_sql.fw.id.IIdentifier;
04:
05: /*
06: * Copyright (C) 2003-2004 Colin Bell
07: * colbell@users.sourceforge.net
08: *
09: * Modifications Copyright (C) 2003-2004 Johan Compagner
10: * jcompagner@j-com.nl
11: *
12: * This library is free software; you can redistribute it and/or
13: * modify it under the terms of the GNU Lesser General Public
14: * License as published by the Free Software Foundation; either
15: * version 2.1 of the License, or (at your option) any later version.
16: *
17: * This library is distributed in the hope that it will be useful,
18: * but WITHOUT ANY WARRANTY; without even the implied warranty of
19: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20: * Lesser General Public License for more details.
21: *
22: * You should have received a copy of the GNU Lesser General Public
23: * License along with this library; if not, write to the Free Software
24: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25: */
26: /**
27: * An adapter for <TT>ISessionListener</TT>.
28: *
29: * @author <A HREF="mailto:colbell@users.sourceforge.net">Colin Bell</A>
30: */
31: public class SessionAdapter implements ISessionListener {
32: /**
33: * The session has been closed.
34: *
35: * @param evt The event that has just occured.
36: */
37: public void sessionClosed(SessionEvent evt) {
38: // Empty body.
39: }
40:
41: public void allSessionsClosed() {
42: //Empty body
43: }
44:
45: /**
46: * The session is about to close
47: */
48: public void sessionClosing(SessionEvent evt) {
49: //Empty Bbody
50: }
51:
52: public void sessionConnected(SessionEvent evt) {
53: //Empty Body
54: }
55:
56: public void sessionActivated(SessionEvent evt) {
57: //Empty Body
58: }
59:
60: public void connectionClosedForReconnect(SessionEvent evt) {
61: }
62:
63: public void reconnected(SessionEvent evt) {
64: }
65:
66: public void reconnectFailed(SessionEvent evt) {
67: }
68:
69: public void sessionFinalized(IIdentifier sessionIdentifier) {
70: }
71: }
|