Serializable
public class FTPEvent extends EventObject
Modifier and Type | Field | 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.
|
source
Constructor | Description |
---|---|
FTPEvent(Object source,
int id) |
Constructs an FTPEvent object.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getID() |
Returns the identifier for this event.
|
getSource, toString
public static final int FTP_CONNECTED
public static final int FTP_DISCONNECTED
public static final int FTP_RETRIEVED
public static final int FTP_PUT
public static final int FTP_LISTED
public FTPEvent(Object source, int id)
source
- The object where the event originated.id
- The event identifier.Copyright © 2024. All rights reserved.