org.apache.commons.net
Class PrintCommandListener
java.lang.Object
org.apache.commons.net.PrintCommandListener
- ProtocolCommandListener
public class PrintCommandListener
extends java.lang.Object
implements ProtocolCommandListener
This is a support class for some of the example programs. It is
a sample implementation of the ProtocolCommandListener interface
which just prints out to a specified stream all command/reply traffic.
PrintCommandListener
public PrintCommandListener(PrintWriter writer)
protocolCommandSent
public void protocolCommandSent(ProtocolCommandEvent event)
protocolReplyReceived
public void protocolReplyReceived(ProtocolCommandEvent event)