1 | public class SessionAdapter implements ISessionListener↵ | | 1 | public abstract class CopyTableAdaptor implements CopyTableListener↵
|
2 | {↵ | | 2 | {↵
|
3 | /**↵ | | |
|
4 | * The session has been closed.↵ | | |
|
5 | *↵ | | |
|
6 | * @param evt The event that has just occured.↵ | | |
|
7 | */↵ | | |
|
8 | public void sessionClosed(SessionEvent evt)↵ | | |
|
9 | {↵ | | |
|
10 | // Empty body.↵ | | |
|
11 | }↵ | | |
|
|
12 | public void allSessionsClosed()↵ | | |
|
13 | {↵ | | |
|
14 | //Empty body↵ | | |
|
15 | }↵ | | |
|
|
16 | /**↵ | | |
|
17 | * The session is about to close↵ | | |
|
18 | */↵ | | |
|
19 | public void sessionClosing(SessionEvent evt)↵ | | |
|
20 | {↵ | | |
|
21 | //Empty Bbody↵ | | |
|
22 | }↵ | | |
|
|
23 | public void sessionConnected(SessionEvent evt)↵ | | |
|
24 | {↵ | | |
|
25 | //Empty Body↵ | | |
|
26 | }↵ | | |
|
|
27 | public void sessionActivated(SessionEvent evt)↵ | | |
|
28 | {↵ | | |
|
29 | //Empty Body↵ | | |
|
30 | }↵ | | |
|
|
31 | public void connectionClosedForReconnect(SessionEvent evt)↵ | | |
|
32 | {↵ | | |
|
33 | }↵ | | |
|
|
34 | ↵ | | |
|
| | | 3 | /* (non-Javadoc)↵
|
| | | 4 | * @see net.sourceforge.squirrel_sql.plugins.dbcopy.event.CopyTableListener#analyzingTable(net.sourceforge.squirrel_sql.plugins.dbcopy.event.TableEvent)↵
|
| | | 5 | */↵
|
| | | 6 | public void analyzingTable(TableEvent e) {}↵
|
|
| | | 7 | /* (non-Javadoc)↵
|
| | | 8 | * @see net.sourceforge.squirrel_sql.plugins.dbcopy.event.CopyTableListener#tableAnalysisStarted(net.sourceforge.squirrel_sql.plugins.dbcopy.event.AnalysisEvent)↵
|
| | | 9 | */↵
|
| | | 10 | public void tableAnalysisStarted(AnalysisEvent e) {}↵
|
|
| | | 11 | /* (non-Javadoc)↵
|
| | | 12 | * @see net.sourceforge.squirrel_sql.plugins.dbcopy.event.CopyTableListener#copyStarted(net.sourceforge.squirrel_sql.plugins.dbcopy.event.CopyEvent)↵
|
| | | 13 | */↵
|
| | | 14 | public void copyStarted(CopyEvent e) {}↵
|
|
| | | 15 | /* (non-Javadoc)↵
|
| | | 16 | * @see net.sourceforge.squirrel_sql.plugins.dbcopy.event.CopyTableListener#tableCopyStarted(net.sourceforge.squirrel_sql.plugins.dbcopy.event.TableEvent)↵
|
| | | 17 | */↵
|
| | | 18 | public void tableCopyStarted(TableEvent e) {}↵
|
|
| | | 19 | /* (non-Javadoc)↵
|
| | | 20 | * @see net.sourceforge.squirrel_sql.plugins.dbcopy.event.CopyTableListener#tableCopyFinished(net.sourceforge.squirrel_sql.plugins.dbcopy.event.TableEvent)↵
|
| | | 21 | */↵
|
| | | 22 | public void tableCopyFinished(TableEvent e) {}↵
|
|
| | | 23 | /* (non-Javadoc)↵
|
| | | 24 | * @see net.sourceforge.squirrel_sql.plugins.dbcopy.event.CopyTableListener#recordCopied(net.sourceforge.squirrel_sql.plugins.dbcopy.event.RecordEvent)↵
|
| | | 25 | */↵
|
| | | 26 | public void recordCopied(RecordEvent e) {}↵
|
|
| | | 27 | /* (non-Javadoc)↵
|
| | | 28 | * @see net.sourceforge.squirrel_sql.plugins.dbcopy.event.CopyTableListener#statementExecuted(net.sourceforge.squirrel_sql.plugins.dbcopy.event.StatementEvent)↵
|
| | | 29 | */↵
|
35 | public void reconnected(SessionEvent evt)↵ | | 30 | public void statementExecuted(S↵
|
36 | {↵ | | |
|
37 | }↵ | | |
|
|
38 | public void reconnectFailed(SessionEvent evt)↵ | | |
|
39 | {↵ | | |
|
40 | }↵ | | |
|
|
41 | public void sessionFinalized(IIdentifier sessionIdentifier | | 31 | tatementEvent e) {}↵
|
|
| | | 32 | /* (non-Javadoc)↵
|
| | | 33 | * @see net.sourceforge.squirrel_sql.plugins.dbcopy.event.CopyTableListener#copyFinished(int)↵
|
| | | 34 | */↵
|
| | | 35 | public void copyFinished(int seconds) {}↵
|
|
| | | 36 | /* (non-Javadoc)↵
|
| | | 37 | * @see net.sourceforge.squirrel_sql.plugins.dbcopy.event.CopyTableListener#handleError(net.sourceforge.squirrel_sql.plugins.dbcopy.event.ErrorEvent)↵
|
| | | 38 | */↵
|
| | | 39 | public void handleError(ErrorEvent e) {
|