SSH Factory

com.jscape.inet.telnet
Class DoSubOptionEvent

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

public class DoSubOptionEvent
extends java.util.EventObject

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

See Also:
TelnetOption, Serialized Form

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

DoSubOptionEvent

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