01: /*
02: * Copyright 2004-2008 H2 Group. Licensed under the H2 License, Version 1.0
03: * (http://h2database.com/html/license.html).
04: * Initial Developer: H2 Group
05: */
06: package org.h2.server.ftp;
07:
08: /**
09: * Event listener for the FTP Server.
10: */
11: public interface FtpEventListener {
12:
13: /**
14: * Called before the given command is processed.
15: *
16: * @param event the event
17: */
18: void beforeCommand(FtpEvent event);
19:
20: /**
21: * Called after the command has been processed.
22: *
23: * @param event the event
24: */
25: void afterCommand(FtpEvent event);
26:
27: /**
28: * Called when an unsupported command is processed.
29: * This method is called after beforeCommand.
30: *
31: * @param event the event
32: */
33: void onUnsupportedCommand(FtpEvent event);
34: }
|