src.com.ibm.as400.access.FTPListener Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jt400-jdk6 Show documentation
Show all versions of jt400-jdk6 Show documentation
The Open Source version of the IBM Toolbox for Java
///////////////////////////////////////////////////////////////////////////////
//
// JTOpen (IBM Toolbox for Java - OSS version)
//
// Filename: FTPListener.java
//
// The source code contained herein is licensed under the IBM Public License
// Version 1.0, which has been approved by the Open Source Initiative.
// Copyright (C) 1997-2000 International Business Machines Corporation and
// others. All rights reserved.
//
///////////////////////////////////////////////////////////////////////////////
package com.ibm.as400.access;
/**
The FTPListener interface provides
an interface for receiving FTPEvents.
**/
public interface FTPListener extends java.util.EventListener
{
/**
* Invoked after a connection has been established.
* @param event The ftp event.
**/
public void connected( FTPEvent event );
/**
* Invoked after the connection has been disconnected.
* @param event The ftp event.
**/
public void disconnected( FTPEvent event );
/**
* Invoked after a file has been retrieved from the system.
* @param event The ftp event.
**/
public void retrieved( FTPEvent event );
/**
* Invoked after a file has been put to the system.
* @param event The ftp event.
**/
public void put( FTPEvent event );
/**
* Invoked after a list of files on the system has been retrieved.
* @param event The ftp event.
**/
public void listed( FTPEvent event );
}