public interface ProtocolCommandListener extends 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
.
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 © 2001–2022 The Apache Software Foundation. All rights reserved.