com.ibm.as400.access

Class FTPEvent

    • Field Summary

      Fields 
      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.
    • Constructor Summary

      Constructors 
      Constructor and Description
      FTPEvent(Object source, int id)
      Constructs an FTPEvent object.
    • 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.