public class PrintCommandListener extends java.lang.Object implements ProtocolCommandListener
Constructor and Description |
---|
PrintCommandListener(java.io.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 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.