SSH Factory

com.jscape.inet.telnet
Class DoOptionEvent

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

public class DoOptionEvent
extends java.util.EventObject

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

See Also:
TelnetOption, Serialized Form

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

DoOptionEvent

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