com.ibm.as400.access
Class FTPEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.ibm.as400.access.FTPEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class FTPEvent
- extends java.util.EventObject
The FTPEvent class represents an ftp event.
- See Also:
- Serialized Form
Field Summary |
static int |
FTP_CONNECTED
Event ID indicating that a connection to the server has been created. |
static int |
FTP_DISCONNECTED
Event ID indicating that the connection to the server has been disconnected. |
static int |
FTP_LISTED
Event ID indicating that a list of files on the server has been retrieved. |
static int |
FTP_PUT
Event ID indicating that a file has been put to the server. |
static int |
FTP_RETRIEVED
Event ID indicating that a file has been retrieved from the server. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
FTPEvent(java.lang.Object source,
int id)
Constructs an FTPEvent object. |
Method Summary |
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 |
FTP_CONNECTED
public static final int FTP_CONNECTED
- Event ID indicating that a connection to the server has been created.
FTP_DISCONNECTED
public static final int FTP_DISCONNECTED
- Event ID indicating that the connection to the server has been disconnected.
FTP_RETRIEVED
public static final int FTP_RETRIEVED
- Event ID indicating that a file has been retrieved from the server.
FTP_PUT
public static final int FTP_PUT
- Event ID indicating that a file has been put to the server.
FTP_LISTED
public static final int FTP_LISTED
- Event ID indicating that a list of files on the server has been retrieved.
FTPEvent
public FTPEvent(java.lang.Object source,
int id)
- Constructs an FTPEvent object.
- Parameters:
source
- The object where the event originated.id
- The event identifier.
getID
public int getID()
- Returns the identifier for this event.
- Returns:
- The identifier for this event.