com.jscape.inet.ssh

## Class SshDataReceivedEvent

- java.lang.Object
- - SshEvent
  - - com.jscape.inet.ssh.SshDataReceivedEvent

-     public class SshDataReceivedEvent
      extends SshEvent

  Fired by Ssh instance when SSH server sends data to client.
  Author:
    vglass

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SshDataReceivedEvent(Ssh source, char dataChar)` Creates a new SshDataReceivedEvent instance.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `accept(SshListener listener)`
    `java.lang.String` | `getData()` Gets data received from the Ssh server.
    `char` | `getDataChar()`

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

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

- - ### Constructor Detail

    - #### SshDataReceivedEvent

          public SshDataReceivedEvent(Ssh source,
                                      char dataChar)

      Creates a new SshDataReceivedEvent instance.
      Parameters:
        `source` - the source of the event
        `dataChar` - the data received from the Ssh server

  - ### Method Detail

    - #### getData

          public java.lang.String getData()

      Gets data received from the Ssh server.
      Returns:
        the data received

    - #### getDataChar

          public char getDataChar()

    - #### accept

          public void accept(SshListener listener)

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