public interface ProtocolCommandListener
extends java.util.EventListener
ProtocolCommandEvent
class facilitate this process.
To receive ProtocolCommandEvents, you merely implement the
ProtocolCommandListener interface and register the class as a listener
with a ProtocolCommandEvent source such as
FTPClient
.
限定符和类型 | 方法和说明 |
---|---|
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.