com.jscape.inet.scp.events

## Class ScpEvent

- java.lang.Object
- - com.jscape.inet.scp.events.ScpEvent

- Direct Known Subclasses:
    ScpConnectedEvent, ScpDisconnectedEvent, ScpFileDownloadedEvent, ScpFileUploadedEvent, ScpTransferProgressEvent

      public abstract class ScpEvent
      extends java.lang.Object

  SCP event.
  Author:
    Alex Usun

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | `accept(ScpEventListener listener)` Accepts listener for backwards dispatching.
    `Scp` | `getSource()` Returns event source.
    `java.lang.String` | `toString()`

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

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

- - ### Method Detail

    - #### getSource

          public Scp getSource()

      Returns event source.
      Returns:
        event source

    - #### accept

          public abstract void accept(ScpEventListener listener)

      Accepts listener for backwards dispatching.
      Parameters:
        `listener` - event listener

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

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