All Packages Class Hierarchy
$
_
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- Args.
Variable in class FTPCommand
- Any arguements to the Command
- Authentication(User).
Constructor for class Authentication
-
- CanDelete(String).
Method in class Authentication
- Determines if the user can delete files in this directory.
- CanMove(String).
Method in class Authentication
- Determines if the user can move files in this directory.
- CanRead(String).
Method in class Authentication
- Determines if the user can read files and directories in this directory.
- CanRename(String).
Method in class Authentication
- Determines if the user can rename files in this directory.
- CanRun(String).
Method in class Authentication
- Determines if the user can run files in this directory.
- CanSee(String).
Method in class Authentication
- Determines if the user can see files and directories in this directory.
- CanWrite(String).
Method in class Authentication
- Determines if the user can write a file in this directory.
- Client.
Variable in class Communication
- The socket used for communications with the client.
- Client.
Variable in class Connection
- The current Client communcation object
- Command.
Variable in class Connection
- The current command being requested
- Command.
Variable in class FTPCommand
- The current FTP command (such as USER PASS DELE)
- Communication().
Constructor for class Communication
-
- Communication(Socket).
Constructor for class Communication
-
- Connection(Communication).
Constructor for class Connection
-
- CurrentConnection.
Variable in class FTPCommand
- A Connection object for performing communications, etc.
- CurrentDirectory.
Variable in class Connection
-
- CurrentUser.
Variable in class Authentication
-
- CurrentUser.
Variable in class Connection
-
- Data.
Variable in class Communication
- The socket used for data transmission with the client.
- DebugLevel.
Variable in class FTPLog
- How much detail to include in debug output (NYI)
- DebugMsg(String).
Method in class FTPLog
- A general purpose debugging mechanism.
- FTP_NEWLINE.
Static variable in class Communication
-
- FTPCommand().
Constructor for class FTPCommand
-
- FTPLog().
Constructor for class FTPLog
-
- FtpServer().
Constructor for class FtpServer
-
- FTPUnknownCommand().
Method in class FTPCommand
- Called when an unknown or unimplemented command is requested
- GetClientConnection().
Method in class ServerCommunication
- Waits for a client connection, then returns a new Communication object
- GetCommand().
Method in class Communication
- Waits for a command from the user.
- IPAddress.
Variable in class User
- The IP address if any, that this user must be connected from
- IsAlive().
Method in class Communication
- Verifies the current connection is still valid.
- IsLoggedOn().
Method in class Authentication
- Determines if the user is logged on correctly.
- IsLogonValid(String, InetAddress).
Method in class User
- Determines if the combination of UserID, password, and optional IP address
are valid (NYI).
- Log.
Variable in class Communication
-
- Log.
Variable in class Connection
-
- LoggedIn.
Variable in class Connection
-
- LogLevel.
Variable in class FTPLog
- How much detail to include in general log output (NYI)
- LogMsg(String).
Method in class FTPLog
- A general purpose logging mechanism.
- LogTransfer(String, long, long).
Method in class FTPLog
- Record a file transfer to the log (NYI)
- LogTransfer(String, long, long).
Method in class User
- Records a file transfer for the given user.
- main(String[]).
Static method in class FtpServer
-
- Password.
Variable in class User
- The password corresponding to this user
- Port.
Variable in class ServerCommunication
- The port on which to listen
- Result.
Variable in class FTPCommand
- The numeric result code (such as 220) according to the RFC
- ResultMsg.
Variable in class FTPCommand
- Any textual message to be sent with the response.
- run().
Method in class Connection
- The main loop for the client communication.
- run().
Method in class FTPCommand
- Executes the appropriate method for the given command.
- SendResponse(int, String).
Method in class FTPCommand
- Sends the result of the command to the user via the CurrentConnection.
- SendResponse(String).
Method in class Communication
- Sends an arbitrary string to the client
- Server.
Variable in class ServerCommunication
- The Java Socket on which we are communicating
- ServerCommunication(int).
Constructor for class ServerCommunication
-
- SetCommandString(String).
Method in class FTPCommand
- Stores and parse the current command string.
- SetDataSocket(Socket).
Method in class Communication
- Sets the data socket (such as in response to a PORT command)
- SetDebugLevel(int).
Method in class FTPLog
-
- SetLogLevel(int).
Method in class FTPLog
-
- Shutdown().
Method in class ServerCommunication
- Causes the server to shutdown.
- toString().
Method in class FTPCommand
-
- User().
Constructor for class User
-
- UserID.
Variable in class User
- The name or id of this user