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)
ProtocolCommandListenerprotocolCommandSent in interface ProtocolCommandListenerevent - The ProtocolCommandEvent fired.public void protocolReplyReceived(ProtocolCommandEvent event)
ProtocolCommandListenerprotocolReplyReceived in interface ProtocolCommandListenerevent - The ProtocolCommandEvent fired.