SSH Factory

com.jscape.inet.telnet
Class WillOptionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jscape.inet.telnet.WillOptionEvent
All Implemented Interfaces:
java.io.Serializable

public class WillOptionEvent
extends java.util.EventObject

Fired by Telnet instance when a WILL OPTION command is received from the Telnet server.

See Also:
TelnetOption, Serialized Form

Constructor Summary
WillOptionEvent(java.lang.Object source, TelnetOption option)
          Constructs a new WillOptionEvent 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

WillOptionEvent

public WillOptionEvent(java.lang.Object source,
                       TelnetOption option)
Constructs a new WillOptionEvent 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