com.coldcore.coloradoftp.command |
|
Java Source File Name | Type | Comment |
Command.java | Interface | User command.
This class is executed by a command processor and returns a reply which
if then send back to user.
In general there should be a separate implementation for every FTP command,
so every implementation knows how to handle one (and only one) FTP command.
This way commands can be easily replaced later.
Control connection can enter an INTERRUPT state. |
CommandFactory.java | Interface | Commands factory (creates all available commands).
Creates a command based on supplied user input. |
CommandProcessor.java | Interface | Processes user input.
This class executes user commands and sends replies.
When dealing with exceptions from command executions, this class must
not throw exceptions, instead it must send to user replies with error messages.
Note that error from a filesystem class are not always errors producing
default LOCAL ERROR reply. |
Reply.java | Interface | Server reply to user. |