com.ibm.as400.access
Class FTPEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.ibm.as400.access.FTPEvent
All Implemented Interfaces:
Serializable

public class FTPEvent
extends EventObject

The FTPEvent class represents an ftp event.

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
static int FTP_CONNECTED
          Event ID indicating that a connection to the system has been created.
static int FTP_DISCONNECTED
          Event ID indicating that the connection to the system has been disconnected.
static int FTP_LISTED
          Event ID indicating that a list of files on the system has been retrieved.
static int FTP_PUT
          Event ID indicating that a file has been put to the system.
static int FTP_RETRIEVED
          Event ID indicating that a file has been retrieved from the system.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Constructor and Description
FTPEvent(Object source, int id)
          Constructs an FTPEvent object.
 
Method Summary
Modifier and Type Method and Description
 int getID()
          Returns the identifier for this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FTP_CONNECTED

public static final int FTP_CONNECTED
Event ID indicating that a connection to the system has been created.

See Also:
Constant Field Values

FTP_DISCONNECTED

public static final int FTP_DISCONNECTED
Event ID indicating that the connection to the system has been disconnected.

See Also:
Constant Field Values

FTP_RETRIEVED

public static final int FTP_RETRIEVED
Event ID indicating that a file has been retrieved from the system.

See Also:
Constant Field Values

FTP_PUT

public static final int FTP_PUT
Event ID indicating that a file has been put to the system.

See Also:
Constant Field Values

FTP_LISTED

public static final int FTP_LISTED
Event ID indicating that a list of files on the system has been retrieved.

See Also:
Constant Field Values
Constructor Detail

FTPEvent

public FTPEvent(Object source,
                int id)
Constructs an FTPEvent object.

Parameters:
source - The object where the event originated.
id - The event identifier.
Method Detail

getID

public int getID()
Returns the identifier for this event.

Returns:
The identifier for this event.