com.myjavaworld.ftp
Interface ControlConnectionListener

All Superinterfaces:
EventListener

public interface ControlConnectionListener
extends EventListener

A contract for implementations of ControlConnectionListener. These listeners will be notified when a command is sent to the remote host over the control connection or a reply is received from the remote host.

Version:
2.0
Author:
Sai Pullabhotla, psai [at] jMethods [dot] com

Method Summary
 void commandSent(ControlConnectionEvent evt)
          Called by the ControlConnection when a command is sent to the remote host.
 void replyReceived(ControlConnectionEvent evt)
          Called by the ControlConnection when a reply is received from the remote host.
 

Method Detail

commandSent

void commandSent(ControlConnectionEvent evt)
Called by the ControlConnection when a command is sent to the remote host.

Parameters:
evt - ControlConnectionEvent.

replyReceived

void replyReceived(ControlConnectionEvent evt)
Called by the ControlConnection when a reply is received from the remote host.

Parameters:
evt - ControlConnectionEvent.


Copyright © 2000-2012 jMethods, Inc.. All Rights Reserved.