com.jscape.inet.telnet

## Class TelnetDisconnectedEvent

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

- All Implemented Interfaces:
    java.io.Serializable

      public class TelnetDisconnectedEvent
      extends java.util.EventObject

  Fired by Telnet instance upon disconnect from server.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TelnetDisconnectedEvent(java.lang.Object source, java.lang.String host, int port)` Created TelnetDisconnectedEvent.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getHost()` Gets host of Telnet server.
    `int` | `getPort()` Gets port of Telnet server.

    - ### 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

    - #### TelnetDisconnectedEvent

          public TelnetDisconnectedEvent(java.lang.Object source,
                                         java.lang.String host,
                                         int port)

      Created TelnetDisconnectedEvent.
      Parameters:
        `source` - the source of the event
        `host` - the host of Telnet server
        `port` - the port of Telnet server

  - ### Method Detail

    - #### getHost

          public java.lang.String getHost()

      Gets host of Telnet server.
      Returns:
        host

    - #### getPort

          public int getPort()

      Gets port of Telnet server.
      Returns:
        port

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