com.jscape.inet.telnet

## Class TelnetDataReceivedEvent

- java.lang.Object
- - java.util.EventObject
  - - com.jscape.inet.telnet.TelnetDataReceivedEvent

- All Implemented Interfaces:
    java.io.Serializable

      public class TelnetDataReceivedEvent
      extends java.util.EventObject

  Fired by Telnet instance when Telnet server sends data to client.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TelnetDataReceivedEvent(java.lang.Object source, java.lang.String data)` Creates a new TelnetDataReceivedEvent instance.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getData()` Gets data received from the Telnet server as a string.

    - ### Methods inherited from class java.util.EventObject

      `getSource, toString`

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

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

- - ### Constructor Detail

    - #### TelnetDataReceivedEvent

          public TelnetDataReceivedEvent(java.lang.Object source,
                                         java.lang.String data)

      Creates a new TelnetDataReceivedEvent instance.
      Parameters:
        `source` - the source of the event
        `data` - the data received from the Telnet server

  - ### Method Detail

    - #### getData

          public java.lang.String getData()

      Gets data received from the Telnet server as a string.
      Returns:
        the data received

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