| java.lang.Object org.apache.commons.net.telnet.TelnetOptionHandler org.apache.commons.net.telnet.TerminalTypeOptionHandler
TerminalTypeOptionHandler | public class TerminalTypeOptionHandler extends TelnetOptionHandler (Code) | | Implements the telnet terminal type option RFC 1091.
author: Bruno D'Avanzo |
TERMINAL_TYPE | final protected static int TERMINAL_TYPE(Code) | | Terminal type option
|
TERMINAL_TYPE_IS | final protected static int TERMINAL_TYPE_IS(Code) | | Is (for subnegotiation)
|
TERMINAL_TYPE_SEND | final protected static int TERMINAL_TYPE_SEND(Code) | | Send (for subnegotiation)
|
TerminalTypeOptionHandler | public TerminalTypeOptionHandler(String termtype, boolean initlocal, boolean initremote, boolean acceptlocal, boolean acceptremote)(Code) | | Constructor for the TerminalTypeOptionHandler. Allows defining desired
initial setting for local/remote activation of this option and
behaviour in case a local/remote activation request for this
option is received.
Parameters: termtype - - terminal type that will be negotiated. Parameters: initlocal - - if set to true, a WILL is sent upon connection. Parameters: initremote - - if set to true, a DO is sent upon connection. Parameters: acceptlocal - - if set to true, any DO request is accepted. Parameters: acceptremote - - if set to true, any WILL request is accepted. |
TerminalTypeOptionHandler | public TerminalTypeOptionHandler(String termtype)(Code) | | Constructor for the TerminalTypeOptionHandler. Initial and accept
behaviour flags are set to false
Parameters: termtype - - terminal type that will be negotiated. |
answerSubnegotiation | public int[] answerSubnegotiation(int suboptionData, int suboptionLength)(Code) | | Implements the abstract method of TelnetOptionHandler.
Parameters: suboptionData - - the sequence received, whithout IAC SB & IAC SE Parameters: suboptionLength - - the length of data in suboption_data terminal type information |
startSubnegotiationLocal | public int[] startSubnegotiationLocal()(Code) | | Implements the abstract method of TelnetOptionHandler.
always null (no response to subnegotiation) |
startSubnegotiationRemote | public int[] startSubnegotiationRemote()(Code) | | Implements the abstract method of TelnetOptionHandler.
always null (no response to subnegotiation) |
|
|