com.jscape.inet.telnet

## Class WontOptionEvent

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

- All Implemented Interfaces:
    java.io.Serializable

      public class WontOptionEvent
      extends java.util.EventObject

  Fired by Telnet instance when a WONT OPTION command is received from the Telnet server.
  See Also:
    `TelnetOption`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WontOptionEvent(java.lang.Object source, TelnetOption option)` Constructs a new `WontOptionEvent` instance.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `TelnetOption` | `getOption()` Gets the `TelnetOption` sent by 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

    - #### WontOptionEvent

          public WontOptionEvent(java.lang.Object source,
                                 TelnetOption option)

      Constructs a new `WontOptionEvent` instance.
      Parameters:
        `source` - the source of this event
        `option` - the `TelnetOption` sent by Telnet server.
      See Also:
        `TelnetOption`

  - ### Method Detail

    - #### getOption

          public TelnetOption getOption()

      Gets the `TelnetOption` sent by Telnet server.
      Returns:
        a `TelnetOption`
      See Also:
        `TelnetOption`

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