org.apache.nutch.protocol.ftp
Class PrintCommandListener
java.lang.Object
org.apache.nutch.protocol.ftp.PrintCommandListener
- All Implemented Interfaces:
- EventListener, org.apache.commons.net.ProtocolCommandListener
public class PrintCommandListener
- extends Object
- implements org.apache.commons.net.ProtocolCommandListener
This is a support class for logging all ftp command/reply traffic.
- Author:
- John Xing
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrintCommandListener
public PrintCommandListener(org.slf4j.Logger logger)
protocolCommandSent
public void protocolCommandSent(org.apache.commons.net.ProtocolCommandEvent event)
- Specified by:
protocolCommandSent
in interface org.apache.commons.net.ProtocolCommandListener
protocolReplyReceived
public void protocolReplyReceived(org.apache.commons.net.ProtocolCommandEvent event)
- Specified by:
protocolReplyReceived
in interface org.apache.commons.net.ProtocolCommandListener
Copyright © 2012 The Apache Software Foundation