SSH Factory

com.jscape.inet.telnet
Class WontOptionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by 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
WontOptionEvent(java.lang.Object source, TelnetOption option)
          Constructs a new WontOptionEvent instance.
 
Method Summary
 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

SSH Factory

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