org.apache.commons.net
public class PrintCommandListener extends Object implements ProtocolCommandListener
Constructor and Description |
---|
PrintCommandListener(PrintWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
protocolCommandSent(ProtocolCommandEvent event)
This method is invoked by a ProtocolCommandEvent source after
sending a protocol command to a server.
|
void |
protocolReplyReceived(ProtocolCommandEvent event)
This method is invoked by a ProtocolCommandEvent source after
receiving a reply from a server.
|
public PrintCommandListener(PrintWriter writer)
public void protocolCommandSent(ProtocolCommandEvent event)
ProtocolCommandListener
protocolCommandSent
in interface ProtocolCommandListener
event
- The ProtocolCommandEvent fired.public void protocolReplyReceived(ProtocolCommandEvent event)
ProtocolCommandListener
protocolReplyReceived
in interface ProtocolCommandListener
event
- The ProtocolCommandEvent fired.