public interface ProtocolCommandListener
extends java.util.EventListener
To receive ProtocolCommandEvents, you merely implement the ProtocolCommandListener interface and register the class as a listener with a ProtocolCommandEvent source such as FTPClient .
ProtocolCommandEvent
,
ProtocolCommandSupport
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.
|
void protocolCommandSent(ProtocolCommandEvent event)
event
- The ProtocolCommandEvent fired.void protocolReplyReceived(ProtocolCommandEvent event)
event
- The ProtocolCommandEvent fired.Copyright © 1997-2002 Daniel F. Savarese. All Rights Reserved.