Secure FTP Factory

com.jscape.inet.ftp
Interface FxpListener

All Superinterfaces:
java.util.EventListener

public interface FxpListener
extends java.util.EventListener

Implements methods for capturing events sourced from Fxp and Fxps classes.

Typicaly your application will implement this interface to capture the following events :
FxpStartEvent
FxpEndEvent
FxpFailedEvent

In addition to implementing this interface your application should register itself as an EventListener which may look somewhat like this:

 public class Application ... implements FxpListener
 {
  ...
  public ... initMethod(...)
  {
    Fxp fxp = new Fxp();
    fxp.addFxpListener(this);
  } 
  ...
 }
 


Method Summary
 void fxpEnd(FxpEndEvent ev)
          Invoked when FXP transfer ends for a file.
 void fxpFailed(FxpFailedEvent ev)
          Invoked when FXP transfer fails for a file.
 void fxpStart(FxpStartEvent ev)
          Invoked when FXP transfer starts for a file.
 

Method Detail

fxpStart

void fxpStart(FxpStartEvent ev)
Invoked when FXP transfer starts for a file.

Parameters:
ev - a FxpStartEvent
See Also:
FxpStartEvent

fxpEnd

void fxpEnd(FxpEndEvent ev)
Invoked when FXP transfer ends for a file.

Parameters:
ev - a FxpEndEvent
See Also:
FxpEndEvent

fxpFailed

void fxpFailed(FxpFailedEvent ev)
Invoked when FXP transfer fails for a file.

Parameters:
ev - a FxpFailedEvent
See Also:
FxpFailedEvent

Secure FTP Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved