com.jscape.inet.sftp.events

## Class SftpEvent

- java.lang.Object
- - com.jscape.inet.sftp.events.SftpEvent

- Direct Known Subclasses:
    SftpChangeDirEvent, SftpConnectedEvent, SftpCreateDirEvent, SftpDeleteDirEvent, SftpDeleteFileEvent, SftpDisconnectedEvent, SftpErrorEvent, SftpListingEvent, SftpProgressEvent, SftpRenameFileEvent, SftpTransferCompleteEvent

      public abstract class SftpEvent
      extends java.lang.Object

  The abstract event class for handling SSH related events.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | `accept(SftpListener listener)` The "backwards dispatching" support.
    `Sftp` | `getSource()` Obtains the event source.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getSource

          public Sftp getSource()

      Obtains the event source.
      Returns:
        the event source

    - #### accept

          public abstract void accept(SftpListener listener)

      The "backwards dispatching" support.
      Parameters:
        `listener` - the event listener

Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved