public class CommandCollector extends java.lang.Object implements FTPMessageListener
Constructor and Description |
---|
CommandCollector() |
Modifier and Type | Method and Description |
---|---|
void |
clearLogs()
Clear the log of all messages
|
java.lang.String[] |
getLogs()
Get the log of messages
|
void |
logCommand(java.lang.String cmd)
Log an FTP command being sent to the server
|
void |
logReply(java.lang.String reply)
Log an FTP reply being sent back to the client
|
public void logCommand(java.lang.String cmd)
logCommand
in interface FTPMessageListener
cmd
- command stringpublic void logReply(java.lang.String reply)
logReply
in interface FTPMessageListener
reply
- reply stringpublic java.lang.String[] getLogs()
public void clearLogs()
Copyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.